fix: missing Read + Write #295
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
|