From ebd35b89a4abe147e11bd7f716788cf642368b6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= Date: Sat, 4 Mar 2023 20:52:50 +0100 Subject: [PATCH] rtic-time: clippy fixes --- rtic-time/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtic-time/src/lib.rs b/rtic-time/src/lib.rs index 3126e6b77d..78b57a4f16 100644 --- a/rtic-time/src/lib.rs +++ b/rtic-time/src/lib.rs @@ -243,7 +243,7 @@ impl TimerQueue { // 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);