]> git.feebdaed.xyz Git - 0xmirror/tokio.git/commitdiff
sync: fix a typo in the docs of `PollSender::is_closed` (#7737)
authorMattia Pitossi <mattiapitossi@gmail.com>
Sat, 15 Nov 2025 10:43:02 +0000 (11:43 +0100)
committerGitHub <noreply@github.com>
Sat, 15 Nov 2025 10:43:02 +0000 (18:43 +0800)
tokio-util/src/sync/mpsc.rs

index 8e2ff814622a74d0c01e087e958aa88c9ec59d68..4092822e28b8e07c0f6e228b2ac64413a236e50f 100644 (file)
@@ -200,7 +200,7 @@ impl<T: Send> PollSender<T> {
         result
     }
 
-    /// Checks whether this sender is been closed.
+    /// Checks whether this sender is closed.
     ///
     /// The underlying channel that this sender was wrapping may still be open.
     pub fn is_closed(&self) -> bool {