rust-lang/rust-clippy

Lint x != _ || x != _

Open

#853 opened on 2016年4月12日

GitHub で見る
 (3 comments) (0 reactions) (1 assignee)Rust (10,406 stars) (1,391 forks)batch import
A-lintL-correctnessT-middlegood first issue

説明

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

コントリビューターガイド