rust-lang/rust-clippy

Lint x != _ || x != _

Open

#853 aperta il 12 apr 2016

Vedi su GitHub
 (3 commenti) (0 reazioni) (1 assegnatario)Rust (1391 fork)batch import
A-lintL-correctnessT-middlegood first issue

Metriche repository

Star
 (10.406 star)
Metriche merge PR
 (Merge medio 19g 22h) (113 PR mergiate in 30 g)

Descrizione

Also probably x == _ && x == _. This is either a duplicate (if both _ are equal) or always false (true for the former).

Guida contributor