From 0cf096273aa71f9c786c4edaa64507ab42c5bca7 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Fri, 5 Jul 2024 02:19:17 +0200 Subject: Fix `wasm_bindgen` backend in `iced_futures` --- futures/src/backend/wasm/wasm_bindgen.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'futures') 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 { - Subscription::from_recipe(Every(duration)) + subscription::from_recipe(Every(duration)) } #[derive(Debug)] -- cgit