Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minor automated whitespace fixes #6603

Closed
wants to merge 1 commit into from
Closed

minor automated whitespace fixes #6603

wants to merge 1 commit into from

Conversation

thestinger
Copy link
Contributor

No description provided.

@bors bors closed this May 19, 2013
bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 3, 2021
…1995

Do not lint when range is completely included into another one

This fix has been developed following this [comment](rust-lang/rust-clippy#5986 (comment)).
So this will be linted:
```
|----------|
        |-----------|
```
Now this won't be linted:
```
              |---|
|--------------------|
```
and this will still lint:
```
|--------|
|--------------|
```

Fixes: rust-lang#5986

changelog: Fix FPs in match_overlapping_arm, when first arm is completely included in second arm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants