socket/tcp: Fix is_active comment typo

This commit is contained in:
David Nadlinger 2021-03-07 04:09:44 +00:00 committed by GitHub
parent 4ac265fb46
commit 3fb05f0857
1 changed files with 1 additions and 1 deletions

View File

@ -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 {