Skip to content

fix(deps): update rust crate libc to v0.2.161 #1268

fix(deps): update rust crate libc to v0.2.161

fix(deps): update rust crate libc to v0.2.161 #1268

GitHub Actions / clippy ubuntu-latest succeeded Oct 18, 2024 in 0s

clippy ubuntu-latest

1 warning

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 1
Note 0
Help 0

Versions

  • rustc 1.82.0 (f6e511eec 2024-10-15)
  • cargo 1.82.0 (8f40fc59f 2024-08-21)
  • clippy 0.1.82 (f6e511e 2024-10-15)

Annotations

Check warning on line 24 in crates/shadowsocks-service/src/local/redir/sys/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy ubuntu-latest

unused return value of `std::os::fd::IntoRawFd::into_raw_fd` that must be used

warning: unused return value of `std::os::fd::IntoRawFd::into_raw_fd` that must be used
  --> crates/shadowsocks-service/src/local/redir/sys/mod.rs:24:5
   |
24 |     sock.into_raw_fd();
   |     ^^^^^^^^^^^^^^^^^^
   |
   = note: losing the raw file descriptor may leak resources
   = note: `#[warn(unused_must_use)]` on by default
help: use `let _ = ...` to ignore the resulting value
   |
24 |     let _ = sock.into_raw_fd();
   |     +++++++