mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-07 00:00:08 +02:00
sync: fix a typo in the docs of PollSender::is_closed (#7737)
This commit is contained in:
@@ -200,7 +200,7 @@ impl<T: Send> PollSender<T> {
|
|||||||
result
|
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.
|
/// The underlying channel that this sender was wrapping may still be open.
|
||||||
pub fn is_closed(&self) -> bool {
|
pub fn is_closed(&self) -> bool {
|
||||||
|
|||||||
Reference in New Issue
Block a user