mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-29 06:54:33 +01:00
rtic-time: clippy fixes
This commit is contained in:
parent
bdfad77938
commit
ebd35b89a4
1 changed files with 1 additions and 1 deletions
|
@ -243,7 +243,7 @@ impl<Mono: Monotonic> TimerQueue<Mono> {
|
||||||
// we make sure in `dropper` that the link is removed from the queue before
|
// 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
|
// dropping `link_ptr` AND `dropper` makes sure that the shadowed `link_ptr` lives
|
||||||
// until the end of the stack frame.
|
// 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);
|
marker.store(addr, Ordering::Relaxed);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue