summaryrefslogtreecommitdiffstats
path: root/futures/src/executor/wasm_bindgen.rs
diff options
context:
space:
mode:
Diffstat (limited to 'futures/src/executor/wasm_bindgen.rs')
-rw-r--r--futures/src/executor/wasm_bindgen.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/futures/src/executor/wasm_bindgen.rs b/futures/src/executor/wasm_bindgen.rs
index 69b7c7e2..94d694c8 100644
--- a/futures/src/executor/wasm_bindgen.rs
+++ b/futures/src/executor/wasm_bindgen.rs
@@ -9,10 +9,7 @@ impl Executor for WasmBindgen {
Ok(Self)
}
- fn spawn(
- &self,
- future: impl futures::Future<Output = ()> + Send + 'static,
- ) {
+ fn spawn(&self, future: impl futures::Future<Output = ()> + 'static) {
wasm_bindgen_futures::spawn_local(future);
}
}