Skip to content

Commit a514507

Browse files
committed
Ignore elidable_lifetime_names pedantic clippy lint
warning: the following explicit lifetimes could be elided: 'a --> src/ser.rs:83:6 | 83 | impl<'a> Serialize for Cow<'a, [u8]> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names = note: `-W clippy::elidable-lifetime-names` implied by `-W clippy::pedantic` = help: to override `-W clippy::pedantic` add `#[allow(clippy::elidable_lifetime_names)]` help: elide the lifetimes | 83 - impl<'a> Serialize for Cow<'a, [u8]> { 83 + impl Serialize for Cow<'_, [u8]> { | warning: the following explicit lifetimes could be elided: 'a --> src/ser.rs:93:6 | 93 | impl<'a> Serialize for Cow<'a, Bytes> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names help: elide the lifetimes | 93 - impl<'a> Serialize for Cow<'a, Bytes> { 93 + impl Serialize for Cow<'_, Bytes> { |
1 parent 31d681f commit a514507

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
@@ -34,6 +34,7 @@
3434
#![cfg_attr(not(feature = "std"), no_std)]
3535
#![deny(missing_docs)]
3636
#![allow(
37+
clippy::elidable_lifetime_names,
3738
clippy::into_iter_without_iter,
3839
clippy::missing_errors_doc,
3940
clippy::must_use_candidate,

0 commit comments

Comments
 (0)