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 847a0b70..2fc915d0 100644
--- a/tokio/src/sync/mpsc/chan.rs
+++ b/tokio/src/sync/mpsc/chan.rs
@@ -307,7 +307,7 @@ where
})
}
- /// Receive the next value without blocking
+ /// Receives the next value without blocking
pub(crate) fn try_recv(&mut self) -> Result<T, TryRecvError> {
use super::block::Read::*;
self.inner.rx_fields.with_mut(|rx_fields_ptr| {