summaryrefslogtreecommitdiffstats
path: root/futures
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-07-05 02:19:17 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-07-05 02:19:17 +0200
commit0cf096273aa71f9c786c4edaa64507ab42c5bca7 (patch)
treea8554b6fc5b2048fb6b2202995f4bcf36dfdcad2 /futures
parent8bc49cd88653309f5abe8a38d5a4af36fcfea933 (diff)
downloadiced-0cf096273aa71f9c786c4edaa64507ab42c5bca7.tar.gz
iced-0cf096273aa71f9c786c4edaa64507ab42c5bca7.tar.bz2
iced-0cf096273aa71f9c786c4edaa64507ab42c5bca7.zip
Fix `wasm_bindgen` backend in `iced_futures`
Diffstat (limited to 'futures')
-rw-r--r--futures/src/backend/wasm/wasm_bindgen.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/futures/src/backend/wasm/wasm_bindgen.rs b/futures/src/backend/wasm/wasm_bindgen.rs
index 3228dd18..f7846c01 100644
--- a/futures/src/backend/wasm/wasm_bindgen.rs
+++ b/futures/src/backend/wasm/wasm_bindgen.rs
@@ -26,7 +26,7 @@ pub mod time {
pub fn every(
duration: std::time::Duration,
) -> Subscription<wasm_timer::Instant> {
- Subscription::from_recipe(Every(duration))
+ subscription::from_recipe(Every(duration))
}
#[derive(Debug)]