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

Fix #8898 #8928

Closed
wants to merge 1 commit into from
Closed

Fix #8898 #8928

wants to merge 1 commit into from

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