aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rtic-time/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtic-time/src/lib.rs b/rtic-time/src/lib.rs
index 3126e6b..78b57a4 100644
--- a/rtic-time/src/lib.rs
+++ b/rtic-time/src/lib.rs
@@ -243,7 +243,7 @@ impl<Mono: Monotonic> TimerQueue<Mono> {
// we make sure in `dropper` that the link is removed from the queue before
// dropping `link_ptr` AND `dropper` makes sure that the shadowed `link_ptr` lives
// until the end of the stack frame.
- let (was_empty, addr) = unsafe { queue.insert(Pin::new_unchecked(&link_ref)) };
+ let (was_empty, addr) = unsafe { queue.insert(Pin::new_unchecked(link_ref)) };
marker.store(addr, Ordering::Relaxed);