diff options
| author | Oliver Rockstedt <[email protected]> | 2024-05-22 00:54:52 +0200 |
|---|---|---|
| committer | Oliver Rockstedt <[email protected]> | 2024-05-22 00:54:52 +0200 |
| commit | aee9d5902a4feb4a5fbb8d0e719401c96f3f651e (patch) | |
| tree | d40e4bd76bf8616b337579f36488f9a8c1c7656f /embassy-sync/src/pubsub | |
| parent | 68e784ccd6e17a2fa4dc837a6eb46b2ff93504d5 (diff) | |
embassy-sync: fixed some documentation typos
Diffstat (limited to 'embassy-sync/src/pubsub')
| -rw-r--r-- | embassy-sync/src/pubsub/mod.rs | 2 |
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 { | |||
| 437 | trait SealedPubSubBehavior<T> { | 437 | trait 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. |
