Fix new warnings for embassy docs

This commit is contained in:
Ulf Lilleengen 2022-06-23 12:59:34 +02:00
parent 84628d36cf
commit 6d3a652026

View file

@ -25,8 +25,8 @@ pub use subscriber::{DynSubscriber, Subscriber};
/// Any published message can be read by all subscribers.
/// A publisher can choose how it sends its message.
///
/// - With [Publisher::publish] the publisher has to wait until there is space in the internal message queue.
/// - With [Publisher::publish_immediate] the publisher doesn't await and instead lets the oldest message
/// - With [Pub::publish()] the publisher has to wait until there is space in the internal message queue.
/// - With [Pub::publish_immediate()] the publisher doesn't await and instead lets the oldest message
/// in the queue drop if necessary. This will cause any [Subscriber] that missed the message to receive
/// an error to indicate that it has lagged.
///