Closed taiki-e closed 6 months ago
warning: redundant guard --> src/io.rs:2701:28 | 2701 | Ok(buf) if buf.is_empty() => { | ^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_guards = note: `#[warn(clippy::redundant_guards)]` on by default help: try | 2701 - Ok(buf) if buf.is_empty() => { 2701 + Ok([]) => { |
(This lint is not yet available on stable)
(This lint is not yet available on stable)