summaryrefslogtreecommitdiffstats
path: root/tokio-sync/src/mpsc/unbounded.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio-sync/src/mpsc/unbounded.rs')
-rw-r--r--tokio-sync/src/mpsc/unbounded.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio-sync/src/mpsc/unbounded.rs b/tokio-sync/src/mpsc/unbounded.rs
index 1473c1b9..181ad517 100644
--- a/tokio-sync/src/mpsc/unbounded.rs
+++ b/tokio-sync/src/mpsc/unbounded.rs
@@ -48,7 +48,7 @@ impl<T> fmt::Debug for UnboundedReceiver<T> {
#[derive(Debug)]
pub struct UnboundedSendError(());
-/// Error returned by `UnboundedSender::try_send`.
+/// Returned by `UnboundedSender::try_send` when the channel has been closed.
#[derive(Debug)]
pub struct UnboundedTrySendError<T>(T);