Skip to content

Rename Result.unwrap_or_handle() to .unwrap_or_else() #14294

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
May 19, 2014

Conversation

lilyball
Copy link
Contributor

Result.unwrap_or_handle() is the equivalent of Option.unwrap_or_else().
In the interests of naming consistency, call it the same thing.

[breaking-change]

Result.unwrap_or_handle() is the equivalent of Option.unwrap_or_else().
In the interests of naming consistency, call it the same thing.

[breaking-change]
bors added a commit that referenced this pull request May 19, 2014
…chton

Result.unwrap_or_handle() is the equivalent of Option.unwrap_or_else().
In the interests of naming consistency, call it the same thing.

[breaking-change]
@bors bors closed this May 19, 2014
@bors bors merged commit 2446827 into rust-lang:master May 19, 2014
@lilyball lilyball deleted the result_unwrap_or_else branch May 19, 2014 23:00
flip1995 pushed a commit to flip1995/rust that referenced this pull request Mar 20, 2025
)

Closes rust-lang#14020
Closes rust-lang#14290
Closes rust-lang#14091

Add checks for unstable const traits.

changelog: [`missing_const_for_fn`] fix FP on unstable const traits
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