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.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 'futures/src/subscription.rs')
-rw-r--r-- | futures/src/subscription.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/futures/src/subscription.rs b/futures/src/subscription.rs index 759dd223..d40125e3 100644 --- a/futures/src/subscription.rs +++ b/futures/src/subscription.rs @@ -19,16 +19,14 @@ pub type EventStream = BoxStream<(Event, event::Status)>; /// A request to listen to external events. /// -/// Besides performing async actions on demand with [`Command`], most +/// Besides performing async actions on demand with `Command`, most /// applications also need to listen to external events passively. /// -/// A [`Subscription`] is normally provided to some runtime, like a [`Command`], +/// A [`Subscription`] is normally provided to some runtime, like a `Command`, /// and it will generate events as long as the user keeps requesting it. /// /// For instance, you can use a [`Subscription`] to listen to a WebSocket /// connection, keyboard presses, mouse events, time ticks, etc. -/// -/// [`Command`]: crate::Command #[must_use = "`Subscription` must be returned to runtime to take effect"] pub struct Subscription<Message> { recipes: Vec<Box<dyn Recipe<Output = Message>>>, |