From 095add4348c56c9100dd0dc84e410eedbd8f1693 Mon Sep 17 00:00:00 2001 From: Alice Ryhl Date: Wed, 17 Jun 2020 22:26:53 +0200 Subject: [PATCH] sync: grammar change --- tokio/src/sync/mpsc/mod.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tokio/src/sync/mpsc/mod.rs b/tokio/src/sync/mpsc/mod.rs index 52e234a5c2a..c489c9f99ff 100644 --- a/tokio/src/sync/mpsc/mod.rs +++ b/tokio/src/sync/mpsc/mod.rs @@ -10,12 +10,12 @@ //! is rejected and the task will be notified when additional capacity is //! available. In other words, the channel provides backpressure. //! -//! This module provides two variants of the channel: A bounded and an unbounded -//! variant. The bounded variant has a limit on the number of messages that the -//! channel can store, and if this limit is reached, trying to send another -//! message will sleep until a message is received from the channel. An unbounded -//! channel has an infinite capacity, so the `send` method never does any kind of -//! sleeping. This makes the [`UnboundedSender`] usable from both synchronous and +//! This module provides two variants of the channel: bounded and unbounded. The +//! bounded variant has a limit on the number of messages that the channel can +//! store, and if this limit is reached, trying to send another message will +//! wait until a message is received from the channel. An unbounded channel has +//! an infinite capacity, so the `send` method never does any kind of sleeping. +//! This makes the [`UnboundedSender`] usable from both synchronous and //! asynchronous code. //! //! # Disconnection