diff --git a/rtic-channel/src/lib.rs b/rtic-channel/src/lib.rs index 20086ac7fb..b6a317fb84 100644 --- a/rtic-channel/src/lib.rs +++ b/rtic-channel/src/lib.rs @@ -66,7 +66,7 @@ impl Channel { } /// Split the queue into a `Sender`/`Receiver` pair. - pub fn split<'a>(&'a mut self) -> (Sender<'a, T, N>, Receiver<'a, T, N>) { + pub fn split(&mut self) -> (Sender<'_, T, N>, Receiver<'_, T, N>) { // Fill free queue for idx in 0..N as u8 { debug_assert!(!self.freeq.get_mut().is_full());