ringbuffer_trait: add extend_from_slice #6
GitHub Actions / clippy
failed
Oct 24, 2024 in 0s
clippy
1 error
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 1 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.84.0-nightly (4f2f477fd 2024-10-23)
- cargo 1.84.0-nightly (cf53cc54b 2024-10-18)
- clippy 0.1.84 (4f2f477fde 2024-10-23)
Annotations
Check failure on line 409 in src/ringbuffer_trait.rs
github-actions / clippy
the following explicit lifetimes could be elided: 'rb
error: the following explicit lifetimes could be elided: 'rb
--> src/ringbuffer_trait.rs:409:10
|
409 | impl<'rb, T, RB: RingBuffer<T>> Iterator for RingBufferDrainingIterator<'rb, T, RB> {
| ^^^ ^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
note: the lint level is defined here
--> src/lib.rs:3:9
|
3 | #![deny(warnings)]
| ^^^^^^^^
= note: `#[deny(clippy::needless_lifetimes)]` implied by `#[deny(warnings)]`
help: elide the lifetimes
|
409 - impl<'rb, T, RB: RingBuffer<T>> Iterator for RingBufferDrainingIterator<'rb, T, RB> {
409 + impl<T, RB: RingBuffer<T>> Iterator for RingBufferDrainingIterator<'_, T, RB> {
|
Loading