mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 12:12:50 +01:00
rtic-channel: Fix clippy lint
This commit is contained in:
parent
3050fc0591
commit
b2c5382430
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ impl<T, const N: usize> Channel<T, N> {
|
|||
}
|
||||
|
||||
/// 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());
|
||||
|
|
Loading…
Reference in a new issue