aboutsummaryrefslogtreecommitdiff
path: root/embassy-sync/src/pubsub
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2024-05-22 13:03:30 +0200
committerGitHub <[email protected]>2024-05-22 13:03:30 +0200
commit1d4cd85f71058c3574a0a99f7a85572d1d87441c (patch)
treed40e4bd76bf8616b337579f36488f9a8c1c7656f /embassy-sync/src/pubsub
parent68e784ccd6e17a2fa4dc837a6eb46b2ff93504d5 (diff)
parentaee9d5902a4feb4a5fbb8d0e719401c96f3f651e (diff)
Merge pull request #2984 from sourcebox/sync-additions
embassy-sync: fixed some documentation typos
Diffstat (limited to 'embassy-sync/src/pubsub')
-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.