Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore needless_lifetimes clippy lint
warning: the following explicit lifetimes could be elided: 'a --> src/display.rs:10:19 | 10 | fn as_display<'a>(&'a self) -> Self::Target<'a>; | ^^ ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 10 - fn as_display<'a>(&'a self) -> Self::Target<'a>; 10 + fn as_display(&self) -> Self::Target<'_>; | warning: the following explicit lifetimes could be elided: 'a --> src/display.rs:21:19 | 21 | fn as_display<'a>(&'a self) -> Self::Target<'a> { | ^^ ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 21 - fn as_display<'a>(&'a self) -> Self::Target<'a> { 21 + fn as_display(&self) -> Self::Target<'_> { | warning: the following explicit lifetimes could be elided: 'a --> src/display.rs:30:19 | 30 | fn as_display<'a>(&'a self) -> Self::Target<'a> { | ^^ ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 30 - fn as_display<'a>(&'a self) -> Self::Target<'a> { 30 + fn as_display(&self) -> Self::Target<'_> { | warning: the following explicit lifetimes could be elided: 'a --> src/display.rs:39:19 | 39 | fn as_display<'a>(&'a self) -> Self::Target<'a> { | ^^ ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 39 - fn as_display<'a>(&'a self) -> Self::Target<'a> { 39 + fn as_display(&self) -> Self::Target<'_> { |
- Loading branch information