mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-26 04:17:21 +00:00
Do not lint when range is completely included into another one This fix has been developed following this [comment](https://github.com/rust-lang/rust-clippy/issues/5986#issuecomment-703313548). So this will be linted: ``` |----------| |-----------| ``` Now this won't be linted: ``` |---| |--------------------| ``` and this will still lint: ``` |--------| |--------------| ``` Fixes: #5986 changelog: Fix FPs in match_overlapping_arm, when first arm is completely included in second arm |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |