Closed
Description
openedon Sep 7, 2019
Tracking issue for the bool::then_some
method, which abstract the following pattern:
if some_condition {
Some(t)
} else {
None
}
bool:then
has previously been stabilised as part of this feature gate: #79299
RFC: rust-lang/rfcs#2757
Implementation PR: #64255
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
Area: Result and Option combinatorsBlocker: Implemented in the nightly compiler and unstable.Category: A tracking issue for an RFC or an unstable feature.Libs issues that are tracked on the team's project board.Relevant to the library API team, which will review and decide on the PR/issue.This issue / PR is in PFCP or FCP with a disposition to merge it.The final comment period is finished for this PR / Issue.This issue requires a nightly compiler in some way.