aboutsummaryrefslogtreecommitdiff
path: root/embassy-sync/src/pubsub
diff options
context:
space:
mode:
authorRobin Mueller <[email protected]>2025-07-09 14:21:19 +0200
committerRobin Mueller <[email protected]>2025-07-09 14:21:19 +0200
commit42c8379c5a571aa76214cdd73ef05a2c720eeb6e (patch)
tree08b99af66dc19f73ca0b2fae9f2835199d7bfe19 /embassy-sync/src/pubsub
parentca667f124f20825a0624ae3d6ef3de9def033d90 (diff)
some minor documentation fixes
Diffstat (limited to 'embassy-sync/src/pubsub')
-rw-r--r--embassy-sync/src/pubsub/publisher.rs2
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 }