Skip to content

Use Option::expect instead of unwrap_or_else with panic!. #34452

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

Merged
merged 1 commit into from
Jun 25, 2016

Conversation

frewsxcv
Copy link
Member

No description provided.

@alexcrichton
Copy link
Member

@bors: r+ 0a6ce30

@bors
Copy link
Collaborator

bors commented Jun 25, 2016

⌛ Testing commit 0a6ce30 with merge 35004b4...

bors added a commit that referenced this pull request Jun 25, 2016
Use `Option::expect` instead of `unwrap_or_else` with `panic!`.

None
@bors bors merged commit 0a6ce30 into rust-lang:master Jun 25, 2016
@frewsxcv frewsxcv deleted the unwrap-or branch June 25, 2016 12:29
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