mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-09-27 04:10:25 +00:00
Update embassy-sync/src/pubsub/publisher.rs
Co-authored-by: James Munns <james@onevariable.com>
This commit is contained in:
parent
554fbef571
commit
fa0f6bc670
@ -75,7 +75,7 @@ impl<'a, PSB: PubSubBehavior<T> + ?Sized, T: Clone> Pub<'a, PSB, T> {
|
||||
self.channel.is_full()
|
||||
}
|
||||
|
||||
/// Create a [futures_sink::Sink] adapter for this publisher.
|
||||
/// Create a [`futures_sink::Sink`] adapter for this publisher.
|
||||
#[inline]
|
||||
pub const fn sink(&self) -> PubSink<'a, '_, PSB, T> {
|
||||
PubSink { publ: self, fut: None }
|
||||
|
Loading…
x
Reference in New Issue
Block a user