diff options
Diffstat (limited to 'tokio-sync/src/mpsc/bounded.rs')
-rw-r--r-- | tokio-sync/src/mpsc/bounded.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tokio-sync/src/mpsc/bounded.rs b/tokio-sync/src/mpsc/bounded.rs index 6c3a2fde..4f6f1ac6 100644 --- a/tokio-sync/src/mpsc/bounded.rs +++ b/tokio-sync/src/mpsc/bounded.rs @@ -167,7 +167,6 @@ impl<T> Receiver<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; @@ -244,7 +243,6 @@ impl<T> Sender<T> { /// } /// } /// ``` - #[allow(clippy::needless_lifetimes)] // false positive: https://github.com/rust-lang/rust-clippy/issues/3988 pub async fn send(&mut self, value: T) -> Result<(), SendError> { use futures_util::future::poll_fn; |