socket/tcp: Fix is_active comment typo
This commit is contained in:
parent
4ac265fb46
commit
3fb05f0857
|
@ -752,7 +752,7 @@ impl<'a> TcpSocket<'a> {
|
||||||
/// If a connection is established, [abort](#method.close) will send a reset to
|
/// If a connection is established, [abort](#method.close) will send a reset to
|
||||||
/// the remote endpoint.
|
/// 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.
|
/// or `LISTEN` state.
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn is_active(&self) -> bool {
|
pub fn is_active(&self) -> bool {
|
||||||
|
|
Loading…
Reference in New Issue