aboutsummaryrefslogtreecommitdiff
path: root/embassy-sync/src/pubsub/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'embassy-sync/src/pubsub/mod.rs')
-rw-r--r--embassy-sync/src/pubsub/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-sync/src/pubsub/mod.rs b/embassy-sync/src/pubsub/mod.rs
index af3d6db2a..637336d9d 100644
--- a/embassy-sync/src/pubsub/mod.rs
+++ b/embassy-sync/src/pubsub/mod.rs
@@ -437,7 +437,7 @@ pub enum Error {
437trait SealedPubSubBehavior<T> { 437trait SealedPubSubBehavior<T> {
438 /// Try to get a message from the queue with the given message id. 438 /// Try to get a message from the queue with the given message id.
439 /// 439 ///
440 /// If the message is not yet present and a context is given, then its waker is registered in the subsriber wakers. 440 /// If the message is not yet present and a context is given, then its waker is registered in the subscriber wakers.
441 fn get_message_with_context(&self, next_message_id: &mut u64, cx: Option<&mut Context<'_>>) -> Poll<WaitResult<T>>; 441 fn get_message_with_context(&self, next_message_id: &mut u64, cx: Option<&mut Context<'_>>) -> Poll<WaitResult<T>>;
442 442
443 /// Get the amount of messages that are between the given the next_message_id and the most recent message. 443 /// Get the amount of messages that are between the given the next_message_id and the most recent message.