diff options
| author | Robin Mueller <[email protected]> | 2025-07-09 14:21:19 +0200 |
|---|---|---|
| committer | Robin Mueller <[email protected]> | 2025-07-09 14:21:19 +0200 |
| commit | 42c8379c5a571aa76214cdd73ef05a2c720eeb6e (patch) | |
| tree | 08b99af66dc19f73ca0b2fae9f2835199d7bfe19 /embassy-sync/src/pubsub | |
| parent | ca667f124f20825a0624ae3d6ef3de9def033d90 (diff) | |
some minor documentation fixes
Diffstat (limited to 'embassy-sync/src/pubsub')
| -rw-r--r-- | embassy-sync/src/pubsub/publisher.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-sync/src/pubsub/publisher.rs b/embassy-sync/src/pubsub/publisher.rs index 7a1ab66de..2af1a9334 100644 --- a/embassy-sync/src/pubsub/publisher.rs +++ b/embassy-sync/src/pubsub/publisher.rs | |||
| @@ -75,7 +75,7 @@ impl<'a, PSB: PubSubBehavior<T> + ?Sized, T: Clone> Pub<'a, PSB, T> { | |||
| 75 | self.channel.is_full() | 75 | self.channel.is_full() |
| 76 | } | 76 | } |
| 77 | 77 | ||
| 78 | /// Create a [`futures::Sink`] adapter for this publisher. | 78 | /// Create a [futures_sink::Sink] adapter for this publisher. |
| 79 | #[inline] | 79 | #[inline] |
| 80 | pub const fn sink(&self) -> PubSink<'a, '_, PSB, T> { | 80 | pub const fn sink(&self) -> PubSink<'a, '_, PSB, T> { |
| 81 | PubSink { publ: self, fut: None } | 81 | PubSink { publ: self, fut: None } |
