diff options
| author | Ulf Lilleengen <[email protected]> | 2022-06-23 12:59:34 +0200 |
|---|---|---|
| committer | Ulf Lilleengen <[email protected]> | 2022-06-23 13:01:10 +0200 |
| commit | 6d3a652026d222bb0191c77406e1f4145a64c5f9 (patch) | |
| tree | 9c6f553e98df3e9bc87dcc6483c56e341a9c5673 | |
| parent | 84628d36cf743193cbf0e7d47ef1cfa9fb590890 (diff) | |
Fix new warnings for embassy docs
| -rw-r--r-- | embassy/src/channel/pubsub/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy/src/channel/pubsub/mod.rs b/embassy/src/channel/pubsub/mod.rs index 9bfb845e0..11c889368 100644 --- a/embassy/src/channel/pubsub/mod.rs +++ b/embassy/src/channel/pubsub/mod.rs | |||
| @@ -25,8 +25,8 @@ pub use subscriber::{DynSubscriber, Subscriber}; | |||
| 25 | /// Any published message can be read by all subscribers. | 25 | /// Any published message can be read by all subscribers. |
| 26 | /// A publisher can choose how it sends its message. | 26 | /// A publisher can choose how it sends its message. |
| 27 | /// | 27 | /// |
| 28 | /// - With [Publisher::publish] the publisher has to wait until there is space in the internal message queue. | 28 | /// - With [Pub::publish()] the publisher has to wait until there is space in the internal message queue. |
| 29 | /// - With [Publisher::publish_immediate] the publisher doesn't await and instead lets the oldest message | 29 | /// - With [Pub::publish_immediate()] the publisher doesn't await and instead lets the oldest message |
| 30 | /// in the queue drop if necessary. This will cause any [Subscriber] that missed the message to receive | 30 | /// in the queue drop if necessary. This will cause any [Subscriber] that missed the message to receive |
| 31 | /// an error to indicate that it has lagged. | 31 | /// an error to indicate that it has lagged. |
| 32 | /// | 32 | /// |
