Skip to content

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

Merged
bors merged 1 commit into
rust-lang:masterfrom
lilyball:result_unwrap_or_else
May 19, 2014
Merged

bors merged 1 commit into
rust-lang:masterfrom
lilyball:result_unwrap_or_else

Conversation

@lilyball

Copy link
Copy Markdown
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