Update embassy-sync/src/pubsub/publisher.rs

Co-authored-by: James Munns <james@onevariable.com>
This commit is contained in:
Robin Mueller 2025-07-09 14:31:42 +02:00 committed by GitHub
parent 554fbef571
commit fa0f6bc670
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 }