Skip to content

Commit 8d649ca

Browse files
committed
Fixing clippy
1 parent 476f380 commit 8d649ca

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/stack/tcp.rs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,20 @@ pub trait TcpClientStack {
2828
) -> nb::Result<(), Self::Error>;
2929

3030
/// Determine if a socket is opened.
31-
///
32-
/// Returns `Ok(true)` if the TCP socket is actively ingressing and egressing packets. This
33-
/// corresponds to any TCP state that is not `CLOSED` or `TIME-WAIT`.
31+
///
32+
/// Returns `Ok(true)` if the TCP socket is actively ingressing and egressing packets. This
33+
/// corresponds to any TCP state that is not `CLOSED` or `TIME-WAIT`.
3434
fn is_open(&mut self, socket: &Self::TcpSocket) -> Result<bool, Self::Error>;
3535

36-
/// Check if the TCP socket can transmit data.
37-
///
38-
/// Returns `Ok(true)` if the TCP transmit half is open and connected.
39-
fn may_send(&mut self, socket: &Self::TcpSocket) -> Result<bool, Self::Error>;
36+
/// Check if the TCP socket can transmit data.
37+
///
38+
/// Returns `Ok(true)` if the TCP transmit half is open and connected.
39+
fn may_send(&mut self, socket: &Self::TcpSocket) -> Result<bool, Self::Error>;
4040

41-
/// Check if the TCP socket can receive data.
42-
///
43-
/// Returns `Ok(true)` if the TCP receive half is open and connected.
44-
fn may_receive(&mut self, socket: &Self::TcpSocket) -> Result<bool, Self::Error>;
41+
/// Check if the TCP socket can receive data.
42+
///
43+
/// Returns `Ok(true)` if the TCP receive half is open and connected.
44+
fn may_receive(&mut self, socket: &Self::TcpSocket) -> Result<bool, Self::Error>;
4545

4646
/// Write to the stream.
4747
///

0 commit comments

Comments
 (0)