diff options
| author | Henrik Tjäder <henrik@tjaders.com> | 2023-03-04 20:52:50 +0100 |
|---|---|---|
| committer | Henrik Tjäder <henrik@tjaders.com> | 2023-03-04 20:52:55 +0100 |
| commit | ebd35b89a4abe147e11bd7f716788cf642368b6f (patch) | |
| tree | 28ea897ddd4b59eccca10491806fe87a47af8425 | |
| parent | bdfad77938f66d65db87ac19286fd5fc421985c4 (diff) | |
rtic-time: clippy fixes
| -rw-r--r-- | rtic-time/src/lib.rs | 2 |
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); |
