From 975819cfc1a28ce3fa1ea59450a1f11a254b3357 Mon Sep 17 00:00:00 2001 From: Emil Fresk Date: Sat, 28 Jan 2023 13:35:37 +0100 Subject: [PATCH] rtic-channel: Fix clippy lint --- rtic-channel/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());