You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
```
warning: the following explicit lifetimes could be elided: 'a
--> async-stream/src/yielder.rs:90:6
|
90 | impl<'a, T> Drop for Enter<'a, T> {
| ^^ ^^
|
= 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
|
90 - impl<'a, T> Drop for Enter<'a, T> {
90 + impl<T> Drop for Enter<'_, T> {
|
warning: the following explicit lifetimes could be elided: 'a
--> async-stream/tests/stream.rs:164:19
|
164 | fn stream<'a>(&'a self) -> impl Stream<Item = &str> + 'a {
| ^^ ^^ ^ ^^
|
= 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
|
164 - fn stream<'a>(&'a self) -> impl Stream<Item = &str> + 'a {
164 + fn stream(&self) -> impl Stream<Item = &str> + '_ {
|
```
0 commit comments