Skip to content

Commit 2a2bf8e

Browse files
committed
ignore unused mut
1 parent 61e2803 commit 2a2bf8e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/socket.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1500,6 +1500,7 @@ impl Socket {
15001500
target_os = "tvos",
15011501
target_os = "windows"
15021502
))]
1503+
#[allow(unused_mut)]
15031504
pub fn set_tcp_fastopen(&self, mut value: u32) -> io::Result<()> {
15041505
#[cfg(not(any(target_os = "linux", target_os = "android")))]
15051506
if value > 1 {

0 commit comments

Comments
 (0)