summaryrefslogtreecommitdiffstats
path: root/futures/src/backend/native/smol.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-07-05 02:15:13 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-07-05 02:16:45 +0200
commit8bc49cd88653309f5abe8a38d5a4af36fcfea933 (patch)
tree6c205ff9964cec1d48934b7ff166532491a349c5 /futures/src/backend/native/smol.rs
parente50aa03edc858d561992d8ca441aa063f273eeac (diff)
downloadiced-8bc49cd88653309f5abe8a38d5a4af36fcfea933.tar.gz
iced-8bc49cd88653309f5abe8a38d5a4af36fcfea933.tar.bz2
iced-8bc49cd88653309f5abe8a38d5a4af36fcfea933.zip
Hide `Subscription` internals
.. and introduce `stream::channel` helper
Diffstat (limited to 'futures/src/backend/native/smol.rs')
-rw-r--r--futures/src/backend/native/smol.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/futures/src/backend/native/smol.rs b/futures/src/backend/native/smol.rs
index aaf1518c..8d448e7f 100644
--- a/futures/src/backend/native/smol.rs
+++ b/futures/src/backend/native/smol.rs
@@ -26,7 +26,7 @@ pub mod time {
pub fn every(
duration: std::time::Duration,
) -> Subscription<std::time::Instant> {
- Subscription::from_recipe(Every(duration))
+ subscription::from_recipe(Every(duration))
}
#[derive(Debug)]