From 3fb05f08578f04fae3d141bafb206a4e8a56be8e Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Sun, 7 Mar 2021 04:09:44 +0000 Subject: [PATCH] socket/tcp: Fix is_active comment typo --- src/socket/tcp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/socket/tcp.rs b/src/socket/tcp.rs index 2edccb8..f158826 100644 --- a/src/socket/tcp.rs +++ b/src/socket/tcp.rs @@ -752,7 +752,7 @@ impl<'a> TcpSocket<'a> { /// If a connection is established, [abort](#method.close) will send a reset to /// the remote endpoint. /// - /// In terms of the TCP state machine, the socket must be in the `CLOSED`, `TIME-WAIT`, + /// In terms of the TCP state machine, the socket must not be in the `CLOSED`, `TIME-WAIT`, /// or `LISTEN` state. #[inline] pub fn is_active(&self) -> bool {