diff options
Diffstat (limited to 'rtic-time/src/linked_list.rs')
-rw-r--r-- | rtic-time/src/linked_list.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rtic-time/src/linked_list.rs b/rtic-time/src/linked_list.rs index 42ff8cb6..52a955bd 100644 --- a/rtic-time/src/linked_list.rs +++ b/rtic-time/src/linked_list.rs @@ -5,7 +5,7 @@ use core::sync::atomic::{AtomicPtr, Ordering}; use critical_section as cs; /// A sorted linked list for the timer queue. -pub struct LinkedList<T> { +pub(crate) struct LinkedList<T> { head: AtomicPtr<Link<T>>, } @@ -156,7 +156,7 @@ impl<T: PartialOrd + Clone> LinkedList<T> { /// A link in the linked list. pub struct Link<T> { - val: T, + pub(crate) val: T, next: AtomicPtr<Link<T>>, _up: PhantomPinned, } |