This repository has been archived by the owner on Dec 17, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve some needless_lifetimes clippy lints
warning: the following explicit lifetimes could be elided: 'a --> src/de.rs:102:11 | 102 | impl<'de, 'a> de::Deserializer<'de> for &'a mut Deserializer<'de> { | ^^ ^^ | = 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 | 102 - impl<'de, 'a> de::Deserializer<'de> for &'a mut Deserializer<'de> { 102 + impl<'de> de::Deserializer<'de> for &mut Deserializer<'de> { | warning: the following explicit lifetimes could be elided: 'a, 's --> src/ser.rs:319:6 | 319 | impl<'s, 'a> ser::SerializeSeq for &'s mut Serializer<'a> { | ^^ ^^ ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 319 - impl<'s, 'a> ser::SerializeSeq for &'s mut Serializer<'a> { 319 + impl ser::SerializeSeq for &mut Serializer<'_> { | warning: the following explicit lifetimes could be elided: 'a, 's --> src/ser.rs:336:6 | 336 | impl<'s, 'a> ser::SerializeTuple for &'s mut Serializer<'a> { | ^^ ^^ ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 336 - impl<'s, 'a> ser::SerializeTuple for &'s mut Serializer<'a> { 336 + impl ser::SerializeTuple for &mut Serializer<'_> { | warning: the following explicit lifetimes could be elided: 'a, 's --> src/ser.rs:353:6 | 353 | impl<'s, 'a> ser::SerializeTupleStruct for &'s mut Serializer<'a> { | ^^ ^^ ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 353 - impl<'s, 'a> ser::SerializeTupleStruct for &'s mut Serializer<'a> { 353 + impl ser::SerializeTupleStruct for &mut Serializer<'_> { | warning: the following explicit lifetimes could be elided: 'a, 's --> src/ser.rs:391:6 | 391 | impl<'s, 'a> ser::SerializeMap for &'s mut Serializer<'a> { | ^^ ^^ ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 391 - impl<'s, 'a> ser::SerializeMap for &'s mut Serializer<'a> { 391 + impl ser::SerializeMap for &mut Serializer<'_> { | warning: the following explicit lifetimes could be elided: 's, 'a --> src/ser.rs:415:6 | 415 | impl<'s, 'a> ser::SerializeStruct for &'s mut Serializer<'a> { | ^^ ^^ ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 415 - impl<'s, 'a> ser::SerializeStruct for &'s mut Serializer<'a> { 415 + impl ser::SerializeStruct for &mut Serializer<'_> { |
- Loading branch information