diff options
author | 2023-09-19 13:26:52 +0200 | |
---|---|---|
committer | 2023-09-19 13:26:52 +0200 | |
commit | 2ee2c658944b20a045a4b81209664930623300c9 (patch) | |
tree | 07488b306ce8daa661517713176f631832b42ad4 /futures | |
parent | 582da10ae2465a7a65ea062347b8f14fba8e6064 (diff) | |
parent | c6554d990770b941b5003d6ef40af3f9dedcd052 (diff) | |
download | iced-2ee2c658944b20a045a4b81209664930623300c9.tar.gz iced-2ee2c658944b20a045a4b81209664930623300c9.tar.bz2 iced-2ee2c658944b20a045a4b81209664930623300c9.zip |
Merge pull request #2091 from nyurik/docs
Chore: Apply clippy docs keyword quoting
Diffstat (limited to 'futures')
-rw-r--r-- | futures/src/subscription.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/futures/src/subscription.rs b/futures/src/subscription.rs index d40125e3..7163248d 100644 --- a/futures/src/subscription.rs +++ b/futures/src/subscription.rs @@ -25,7 +25,7 @@ pub type EventStream = BoxStream<(Event, event::Status)>; /// 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 +/// For instance, you can use a [`Subscription`] to listen to a `WebSocket` /// connection, keyboard presses, mouse events, time ticks, etc. #[must_use = "`Subscription` must be returned to runtime to take effect"] pub struct Subscription<Message> { @@ -355,7 +355,7 @@ where /// } /// ``` /// -/// Check out the [`websocket`] example, which showcases this pattern to maintain a WebSocket +/// Check out the [`websocket`] example, which showcases this pattern to maintain a `WebSocket` /// connection open. /// /// [`websocket`]: https://github.com/iced-rs/iced/tree/0.10/examples/websocket |