Skip to content

fix: missing Read + Write #295

fix: missing Read + Write

fix: missing Read + Write #295

Triggered via push May 24, 2024 15:19
Status Success
Total duration 7m 50s
Artifacts

build-msrv.yml

on: push
Matrix: buid-test-check
Fit to window
Zoom out
Zoom in

Annotations

1 error
this comparison involving the minimum or maximum element for this type contains a case that is always true or always false: crates/shadowsocks-service/src/local/tun/mod.rs#L218
error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false --> crates/shadowsocks-service/src/local/tun/mod.rs:218:24 | 218 | if n <= IFF_PI_PREFIX_LEN { | ^^^^^^^^^^^^^^^^^^^^^^ | = help: because `IFF_PI_PREFIX_LEN` is the minimum value for this type, the case where the two sides are not equal never occurs, consider using `n == IFF_PI_PREFIX_LEN` instead = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#absurd_extreme_comparisons = note: `#[deny(clippy::absurd_extreme_comparisons)]` on by default