Skip to content

Fix #8898#8928

Closed
novalis wants to merge 1 commit intorust-lang:masterfrom
novalis:fix-8898
Closed

Fix #8898#8928
novalis wants to merge 1 commit intorust-lang:masterfrom
novalis:fix-8898

Conversation

@novalis
Copy link
Contributor

@novalis novalis commented Sep 2, 2013

I think this fixes 8898. I'm a bit unsure about how slices and owned pointers to vectors-of-unit already worked, but since they were already working, I didn't mess with them.

bors added a commit that referenced this pull request Sep 2, 2013
I think this fixes 8898.  I'm a bit unsure about how slices and owned pointers to vectors-of-unit already worked, but since they were already working, I didn't mess with them.
@bors bors closed this Sep 2, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jun 30, 2022
Lint `[single_match]` on `Option` matches

fixes rust-lang#8928

changelog: did some cleanup of the logic for ``[`single_match`]`` and ``[`single_match_else`]`` which fixes the bug where `Option` matches were not linted unless a wildcard was used for one of the arms.
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.

3 participants