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
``` error: the following explicit lifetimes could be elided: 'a --> src/lib.rs:1197:6 | 1197 | impl<'a, T> EventListenerFuture for SendInner<'a, T> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `-D clippy::needless-lifetimes` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::needless_lifetimes)]` help: elide the lifetimes | 1197 - impl<'a, T> EventListenerFuture for SendInner<'a, T> { 1197 + impl<T> EventListenerFuture for SendInner<'_, T> { | error: the following explicit lifetimes could be elided: 'a --> src/lib.rs:1253:6 | 1253 | impl<'a, T> EventListenerFuture for RecvInner<'a, T> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1253 - impl<'a, T> EventListenerFuture for RecvInner<'a, T> { 1253 + impl<T> EventListenerFuture for RecvInner<'_, T> { | ```
- Loading branch information