summaryrefslogtreecommitdiffstats
path: root/tokio-sync/src/mpsc/unbounded.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio-sync/src/mpsc/unbounded.rs')
-rw-r--r--tokio-sync/src/mpsc/unbounded.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/tokio-sync/src/mpsc/unbounded.rs b/tokio-sync/src/mpsc/unbounded.rs
index 60694f15..2760b845 100644
--- a/tokio-sync/src/mpsc/unbounded.rs
+++ b/tokio-sync/src/mpsc/unbounded.rs
@@ -135,7 +135,6 @@ impl<T> UnboundedReceiver<T> {
/// assert_eq!(Some("world"), rx.recv().await);
/// }
/// ```
- #[allow(clippy::needless_lifetimes)] // false positive: https://github.com/rust-lang/rust-clippy/issues/3988
pub async fn recv(&mut self) -> Option<T> {
use futures_util::future::poll_fn;