Skip to content

Commit

Permalink
chore: suppress a clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronChen0 authored Oct 18, 2024
1 parent f2b1fa2 commit c7fe55a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/shadowsocks-service/src/local/redir/sys/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ where
let fd = socket.as_raw_fd();
let sock = unsafe { Socket::from_raw_fd(fd) };
let result = sock.set_only_v6(ipv6_only);
sock.into_raw_fd();
let _ = sock.into_raw_fd();
result
}

Expand Down

0 comments on commit c7fe55a

Please sign in to comment.