From f9ddb93604a830d106475bd4c4cae436fafcc0da Mon Sep 17 00:00:00 2001 From: Oleg Nosov Date: Fri, 24 Jan 2020 20:31:13 +0300 Subject: docs: use third form in API docs (#2027) --- tokio/src/sync/mpsc/unbounded.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tokio/src/sync/mpsc/unbounded.rs') diff --git a/tokio/src/sync/mpsc/unbounded.rs b/tokio/src/sync/mpsc/unbounded.rs index d1222f28..b6b621d2 100644 --- a/tokio/src/sync/mpsc/unbounded.rs +++ b/tokio/src/sync/mpsc/unbounded.rs @@ -46,7 +46,7 @@ impl fmt::Debug for UnboundedReceiver { } } -/// Create an unbounded mpsc channel for communicating between asynchronous +/// Creates an unbounded mpsc channel for communicating between asynchronous /// tasks. /// /// A `send` on this channel will always succeed as long as the receive half has @@ -78,7 +78,7 @@ impl UnboundedReceiver { self.chan.recv(cx) } - /// Receive the next value for this receiver. + /// Receives the next value for this receiver. /// /// `None` is returned when all `Sender` halves have dropped, indicating /// that no further values can be sent on the channel. -- cgit v1.2.3