rust-lang/rust-clippy

Lint x != _ || x != _

Open

#853 ouverte le 12 avr. 2016

Voir sur GitHub
 (3 commentaires) (0 réactions) (1 assigné)Rust (1 391 forks)batch import
A-lintL-correctnessT-middlegood first issue

Métriques du dépôt

Stars
 (10 406 stars)
Métriques de merge PR
 (Merge moyen 19j 22h) (113 PRs mergées en 30 j)

Description

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

Guide contributeur