Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix clippy::needless_lifetimes warning
Clippy nightly started warning e.g.: ``` warning: the following explicit lifetimes could be elided: 'conn --> x11rb-async/src/cookie.rs:68:6 | 68 | impl<'conn, C: RequestConnection + ?Sized> Drop for VoidCookie<'conn, C> { | ^^^^^ ^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 68 - impl<'conn, C: RequestConnection + ?Sized> Drop for VoidCookie<'conn, C> { 68 + impl<C: RequestConnection + ?Sized> Drop for VoidCookie<'_, C> { | ``` Signed-off-by: Uli Schlachter <psychon@znc.in>
- Loading branch information