summaryrefslogtreecommitdiffstats
path: root/futures/src/backend/native/tokio.rs
diff options
context:
space:
mode:
Diffstat (limited to 'futures/src/backend/native/tokio.rs')
-rw-r--r--futures/src/backend/native/tokio.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/futures/src/backend/native/tokio.rs b/futures/src/backend/native/tokio.rs
index f86b0ea3..dd818bd1 100644
--- a/futures/src/backend/native/tokio.rs
+++ b/futures/src/backend/native/tokio.rs
@@ -9,6 +9,7 @@ impl crate::Executor for Executor {
tokio::runtime::Runtime::new()
}
+ #[allow(clippy::let_underscore_future)]
fn spawn(&self, future: impl Future<Output = ()> + Send + 'static) {
let _ = tokio::runtime::Runtime::spawn(self, future);
}