fix(deps): update rust crate ipnet to v2.10.1 #3270
Annotations
5 errors and 1 warning
buid-test-check (windows-latest)
Process completed with exit code 1.
|
buid-test-check (ubuntu-latest)
The job was canceled because "windows-latest" failed.
|
buid-test-check (ubuntu-latest)
The operation was canceled.
|
buid-test-check (macos-latest)
The job was canceled because "windows-latest" failed.
|
buid-test-check (macos-latest)
The operation was canceled.
|
this `match` can be collapsed into the outer `if let`:
crates/shadowsocks-service/src/local/redir/udprelay/sys/unix/macos.rs#L58
warning: this `match` can be collapsed into the outer `if let`
--> crates/shadowsocks-service/src/local/redir/udprelay/sys/unix/macos.rs:58:21
|
58 | / match errno {
59 | | libc::ENOPROTOOPT => {
60 | | trace!("failed to set SO_REUSEPORT, error: {}", err);
61 | | }
... |
65 | | }
66 | | }
| |_____________________^
|
help: the outer pattern can be modified to include the inner pattern
--> crates/shadowsocks-service/src/local/redir/udprelay/sys/unix/macos.rs:57:29
|
57 | if let Some(errno) = err.raw_os_error() {
| ^^^^^ replace this binding
58 | match errno {
59 | libc::ENOPROTOOPT => {
| ^^^^^^^^^^^^^^^^^ with this pattern
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match
= note: `#[warn(clippy::collapsible_match)]` on by default
|