summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-04-01 12:02:14 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-04-01 12:02:14 +0200
commitb40db569a2369dbdc79e40dc700974c2f7ac8d4b (patch)
tree19ab13d05ae0670d715fdabbf660e72f7d9b9845
parentf5bcfec8211c04c4b05f63d01d52d3e5d2cc123e (diff)
downloadiced-b40db569a2369dbdc79e40dc700974c2f7ac8d4b.tar.gz
iced-b40db569a2369dbdc79e40dc700974c2f7ac8d4b.tar.bz2
iced-b40db569a2369dbdc79e40dc700974c2f7ac8d4b.zip
Fix `wasm_bindgen` backend in `iced_futures`
-rw-r--r--futures/src/backend/wasm/wasm_bindgen.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/futures/src/backend/wasm/wasm_bindgen.rs b/futures/src/backend/wasm/wasm_bindgen.rs
index ff7ea0f6..3228dd18 100644
--- a/futures/src/backend/wasm/wasm_bindgen.rs
+++ b/futures/src/backend/wasm/wasm_bindgen.rs
@@ -16,8 +16,7 @@ impl crate::Executor for Executor {
pub mod time {
//! Listen and react to time.
- use crate::core::Hasher;
- use crate::subscription::{self, Subscription};
+ use crate::subscription::{self, Hasher, Subscription};
use crate::BoxStream;
/// Returns a [`Subscription`] that produces messages at a set interval.