From a0e1a2cec28e687cedae0297b3d8f147edbddfda Mon Sep 17 00:00:00 2001 From: Vivian Date: Wed, 23 Oct 2024 22:53:29 +0200 Subject: [PATCH] clippy fix --- src/ringbuffer_trait.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ringbuffer_trait.rs b/src/ringbuffer_trait.rs index 9f869c4..1a549fe 100644 --- a/src/ringbuffer_trait.rs +++ b/src/ringbuffer_trait.rs @@ -395,7 +395,7 @@ mod iter { } } - impl<'rb, T, RB: RingBuffer> Iterator for RingBufferDrainingIterator<'rb, T, RB> { + impl> Iterator for RingBufferDrainingIterator<'_, T, RB> { type Item = T; fn next(&mut self) -> Option {