summaryrefslogtreecommitdiffstats
path: root/tokio/src/sync/mpsc
diff options
context:
space:
mode:
authorAlice Ryhl <alice@ryhl.io>2020-06-18 21:22:29 +0200
committerGitHub <noreply@github.com>2020-06-18 21:22:29 +0200
commita43ec11daf7306e34cff1c60fd01437bd34d8aba (patch)
treefc2ac5552669b1635a917fefd4aab6222dbe55df /tokio/src/sync/mpsc
parent3db22e29d19eba5b2a85e78f4ae8330d3edf6776 (diff)
sync: channel doc grammar change (#2624)
Diffstat (limited to 'tokio/src/sync/mpsc')
-rw-r--r--tokio/src/sync/mpsc/mod.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/tokio/src/sync/mpsc/mod.rs b/tokio/src/sync/mpsc/mod.rs
index 52e234a5..c489c9f9 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