diff options
| author | 2020-11-26 02:52:34 +0100 | |
|---|---|---|
| committer | 2020-11-26 02:52:34 +0100 | |
| commit | 1f7e8b7f3d1804c39c8e0934b25f3ef178de269c (patch) | |
| tree | 380d9224b81537e460ea7f9fe84c0c912d3f4cbf /futures/src/subscription | |
| parent | bffaeed9fd44619491c012cd9270043828c1849c (diff) | |
| parent | 01322f69a406eee76014f5e2834336e2295ad80e (diff) | |
| download | iced-1f7e8b7f3d1804c39c8e0934b25f3ef178de269c.tar.gz iced-1f7e8b7f3d1804c39c8e0934b25f3ef178de269c.tar.bz2 iced-1f7e8b7f3d1804c39c8e0934b25f3ef178de269c.zip | |
Merge pull request #632 from hecrj/improvement/update-docs
Use intra-doc links
Diffstat (limited to 'futures/src/subscription')
| -rw-r--r-- | futures/src/subscription/tracker.rs | 8 | 
1 files changed, 2 insertions, 6 deletions
| diff --git a/futures/src/subscription/tracker.rs b/futures/src/subscription/tracker.rs index c2a0d0f1..43222b5b 100644 --- a/futures/src/subscription/tracker.rs +++ b/futures/src/subscription/tracker.rs @@ -26,8 +26,6 @@ where      Event: 'static + Send + Clone,  {      /// Creates a new empty [`Tracker`]. -    /// -    /// [`Tracker`]: struct.Tracker.html      pub fn new() -> Self {          Self {              subscriptions: HashMap::new(), @@ -52,9 +50,7 @@ where      /// It returns a list of futures that need to be spawned to materialize      /// the [`Tracker`] changes.      /// -    /// [`Tracker`]: struct.Tracker.html -    /// [`Subscription`]: struct.Subscription.html -    /// [`Recipe`]: trait.Recipe.html +    /// [`Recipe`]: crate::subscription::Recipe      pub fn update<Message, Receiver>(          &mut self,          subscription: Subscription<Hasher, Event, Message>, @@ -132,7 +128,7 @@ where      /// This method publishes the given event to all the subscription streams      /// currently open.      /// -    /// [`Recipe::stream`]: trait.Recipe.html#tymethod.stream +    /// [`Recipe::stream`]: crate::subscription::Recipe::stream      pub fn broadcast(&mut self, event: Event) {          self.subscriptions              .values_mut() | 
