From 4c9b469562055259ec2033f7cd8fa34661f13332 Mon Sep 17 00:00:00 2001 From: Alice Ryhl Date: Tue, 14 Sep 2021 22:39:52 +0200 Subject: [PATCH] sync: PollSender impls Sink (#4110) --- tokio/src/sync/mpsc/bounded.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tokio/src/sync/mpsc/bounded.rs b/tokio/src/sync/mpsc/bounded.rs index d7af17251..6c99af089 100644 --- a/tokio/src/sync/mpsc/bounded.rs +++ b/tokio/src/sync/mpsc/bounded.rs @@ -14,8 +14,8 @@ use std::task::{Context, Poll}; /// /// Instances are created by the [`channel`](channel) function. /// -/// To use the `Sender` in a poll function, you can use the [`PollSender`] -/// utility. +/// To convert the `Sender` into a `Sink` or use it in a poll function, you can +/// use the [`PollSender`] utility. /// /// [`PollSender`]: https://docs.rs/tokio-util/0.6/tokio_util/sync/struct.PollSender.html pub struct Sender {