diff options
author | 2023-09-09 12:24:47 +0200 | |
---|---|---|
committer | 2023-09-09 18:59:17 +0200 | |
commit | 89d9f1d7d2202029028a487df1dd11b0665a7517 (patch) | |
tree | ff3f998798c9d0b1d334989d941c90b0b1012ee4 /futures/src/subscription/tracker.rs | |
parent | 89d9c45d25e9bf89e48858b135bc7a2d41c757a8 (diff) | |
download | iced-89d9f1d7d2202029028a487df1dd11b0665a7517.tar.gz iced-89d9f1d7d2202029028a487df1dd11b0665a7517.tar.bz2 iced-89d9f1d7d2202029028a487df1dd11b0665a7517.zip |
Fix majority of unresolved documentation links
Diffstat (limited to '')
-rw-r--r-- | futures/src/subscription/tracker.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/futures/src/subscription/tracker.rs b/futures/src/subscription/tracker.rs index ae71cd25..3a83da09 100644 --- a/futures/src/subscription/tracker.rs +++ b/futures/src/subscription/tracker.rs @@ -14,6 +14,8 @@ use std::hash::Hasher as _; /// If you have an application that continuously returns a [`Subscription`], /// you can use a [`Tracker`] to keep track of the different recipes and keep /// its executions alive. +/// +/// [`Subscription`]: crate::Subscription #[derive(Debug, Default)] pub struct Tracker { subscriptions: HashMap<u64, Execution>, @@ -51,6 +53,7 @@ impl Tracker { /// the [`Tracker`] changes. /// /// [`Recipe`]: crate::subscription::Recipe + /// [`Subscription`]: crate::Subscription pub fn update<Message, Receiver>( &mut self, recipes: impl Iterator<Item = Box<dyn Recipe<Output = Message>>>, |