rust-lang / rust-lang/rust-clippy
Lint x != _ || x != _
Open
Nobody has claimed this yet.
A-lint
good first issue
L-correctness
T-middle
- Dominant language
- Rust
- Stars
- 13.5k
- Forks
- 2.2k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 32
Description
Also probably x == _ && x == _. This is either a duplicate (if both _ are equal) or always false (true for the former).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.