diff options
author | 2023-01-27 13:16:26 -0700 | |
---|---|---|
committer | 2023-01-27 13:50:36 -0700 | |
commit | 0ff1061d52d4ecb35018c8aab173225fe14d1e25 (patch) | |
tree | 6e398c159b9474d28db7146685e82e37a3d9e6aa /futures/src/backend/native/tokio.rs | |
parent | 818ae4977a36c30a61492f85afa96e261c5d7167 (diff) | |
download | iced-0ff1061d52d4ecb35018c8aab173225fe14d1e25.tar.gz iced-0ff1061d52d4ecb35018c8aab173225fe14d1e25.tar.bz2 iced-0ff1061d52d4ecb35018c8aab173225fe14d1e25.zip |
Fix: Clippy lint 'let_underscore_future'
Diffstat (limited to 'futures/src/backend/native/tokio.rs')
-rw-r--r-- | futures/src/backend/native/tokio.rs | 1 |
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); } |