Skip to content

Commit 27061af

Browse files
committed
Ignore needless_lifetimes clippy lint
warning: the following explicit lifetimes could be elided: 'a --> src/rcvec.rs:96:6 | 96 | impl<'a, T> RcVecMut<'a, T> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `-W clippy::needless-lifetimes` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::needless_lifetimes)]` help: elide the lifetimes | 96 - impl<'a, T> RcVecMut<'a, T> { 96 + impl<T> RcVecMut<'_, T> { |
1 parent 9c1d3eb commit 27061af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@
105105
clippy::missing_safety_doc,
106106
clippy::must_use_candidate,
107107
clippy::needless_doctest_main,
108+
clippy::needless_lifetimes,
108109
clippy::new_without_default,
109110
clippy::return_self_not_must_use,
110111
clippy::shadow_unrelated,

0 commit comments

Comments
 (0)