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 {