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

Use Option::map_or #3009

Merged
merged 1 commit into from
Aug 7, 2018
Merged

Use Option::map_or #3009

merged 1 commit into from
Aug 7, 2018

Conversation

dwijnand
Copy link
Member

@dwijnand dwijnand commented Aug 6, 2018

Just spotted a simple pattern match.

@oli-obk oli-obk merged commit 7702555 into rust-lang:master Aug 7, 2018
@oli-obk
Copy link
Contributor

oli-obk commented Aug 7, 2018

Well spotted... we should probably have a lint for that

@dwijnand dwijnand deleted the option-map_or branch August 7, 2018 12:09
@dwijnand
Copy link
Member Author

dwijnand commented Aug 7, 2018

Somewhat covered by #6 and more recently #1658.

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