aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--embassy/src/channel/pubsub/mod.rs4
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///