summaryrefslogtreecommitdiffstats
path: root/tokio/src/sync/mpsc/chan.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio/src/sync/mpsc/chan.rs')
-rw-r--r--tokio/src/sync/mpsc/chan.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio/src/sync/mpsc/chan.rs b/tokio/src/sync/mpsc/chan.rs
index 4030e380..2cf0d055 100644
--- a/tokio/src/sync/mpsc/chan.rs
+++ b/tokio/src/sync/mpsc/chan.rs
@@ -279,7 +279,7 @@ where
// TODO: This check may not be required as it most
// likely can only return `true` at this point. A
// channel is closed when all tx handles are
- // dropped. Dropping a tx handle releases memory,
+ // dropped. Dropping a tx handle releases memory,
// which ensures that if dropping the tx handle is
// visible, then all messages sent are also visible.
assert!(self.inner.semaphore.is_idle());