This commit is contained in:
nora 2022-05-10 14:47:41 +02:00
parent 2a458890bc
commit 7d45668246
4 changed files with 94 additions and 22 deletions

View file

@ -1,5 +1,4 @@
use std::ptr;
use std::sync::atomic::AtomicPtr;
use std::{ptr, sync::atomic::AtomicPtr};
pub struct LinkedList<T> {
head: AtomicPtr<Node<T>>,