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.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/futures/src/executor/wasm_bindgen.rs b/futures/src/executor/wasm_bindgen.rs
deleted file mode 100644
index 94d694c8..00000000
--- a/futures/src/executor/wasm_bindgen.rs
+++ /dev/null
@@ -1,15 +0,0 @@
-use crate::Executor;
-
-/// A `wasm-bindgen-futures` runtime.
-#[derive(Debug)]
-pub struct WasmBindgen;
-
-impl Executor for WasmBindgen {
- fn new() -> Result<Self, futures::io::Error> {
- Ok(Self)
- }
-
- fn spawn(&self, future: impl futures::Future<Output = ()> + 'static) {
- wasm_bindgen_futures::spawn_local(future);
- }
-}