rust-lang/rust-clippy

Lint x != _ || x != _

Open

#853 geöffnet am 12. Apr. 2016

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (1 zugewiesene Person)Rust (1.391 Forks)batch import
A-lintL-correctnessT-middlegood first issue

Repository-Metriken

Stars
 (10.406 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 19T 22h) (113 gemergte PRs in 30 T)

Beschreibung

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

Contributor Guide