diff options
| author | Oliver Rockstedt <[email protected]> | 2024-10-07 18:05:15 +0200 |
|---|---|---|
| committer | Oliver Rockstedt <[email protected]> | 2024-10-07 18:05:15 +0200 |
| commit | bf60b239e87faa0b9905a42013d8ae9a9f4162ea (patch) | |
| tree | 6419fd6a02b7a31778a2400f41d1b740be3fcbfb /embassy-sync/src/pubsub/mod.rs | |
| parent | 42815e944af09f7de6278483caf0fb7e65ab1d1d (diff) | |
embassy-sync: fixed some clippy warnings
Diffstat (limited to 'embassy-sync/src/pubsub/mod.rs')
| -rw-r--r-- | embassy-sync/src/pubsub/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-sync/src/pubsub/mod.rs b/embassy-sync/src/pubsub/mod.rs index 812302e2b..ae5951829 100644 --- a/embassy-sync/src/pubsub/mod.rs +++ b/embassy-sync/src/pubsub/mod.rs | |||
| @@ -27,8 +27,8 @@ pub use subscriber::{DynSubscriber, Subscriber}; | |||
| 27 | /// | 27 | /// |
| 28 | /// - With [Pub::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 [Pub::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 | /// |
| 33 | /// ## Example | 33 | /// ## Example |
| 34 | /// | 34 | /// |
