-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Tracking issue for Option::flatten
#60258
Labels
B-unstable
Blocker: Implemented in the nightly compiler and unstable.
C-tracking-issue
Category: A tracking issue for an RFC or an unstable feature.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
Comments
jonas-schievink
changed the title
Add flatten option to
Tracking issue for Apr 25, 2019
Option<Option<T>>
with Into
trait or new method.Option::flatten
jonas-schievink
added
B-unstable
Blocker: Implemented in the nightly compiler and unstable.
C-tracking-issue
Category: A tracking issue for an RFC or an unstable feature.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
labels
Apr 25, 2019
I was trying to |
@Centril Helped me get this merged. What is the stabilization process? |
@ethanboxx I'd just file a PR to stabilize it and we'll ask T-libs to FCP. |
Centril
added a commit
to Centril/rust
that referenced
this issue
Oct 27, 2019
Stabilize `Option::flatten` - PR: rust-lang#60256 - Tracking issue: rust-lang#60258 @elahn > I was trying to `flat_map()` and found `map().flatten()` does the trick. This has been on nightly for 4 months, can we stabilise it? @ethanboxx > @Centril Helped me get this merged. What is the stabilization process? @Centril > @ethanboxx I'd just file a PR to stabilize it and we'll ask T-libs to FCP. So here I am. I am was unsure what number to put in `since = "-"` so I copied what someone had done in a recent PR.
Centril
added a commit
to Centril/rust
that referenced
this issue
Oct 28, 2019
Stabilize `Option::flatten` - PR: rust-lang#60256 - Tracking issue: rust-lang#60258 @elahn > I was trying to `flat_map()` and found `map().flatten()` does the trick. This has been on nightly for 4 months, can we stabilise it? @ethanboxx > @Centril Helped me get this merged. What is the stabilization process? @Centril > @ethanboxx I'd just file a PR to stabilize it and we'll ask T-libs to FCP. So here I am. I am was unsure what number to put in `since = "-"` so I copied what someone had done in a recent PR.
The feature has been stabilised. Closing this. Thanks :) |
dtolnay
added a commit
to dtolnay/async-trait
that referenced
this issue
Aug 11, 2020
1.39 is still supported but tracing-attributes in our test deps assumes 1.40. error[E0658]: use of unstable library feature 'option_flattening' --> tracing-attributes-0.1.10/src/lib.rs:933:10 | 933 | .flatten(); | ^^^^^^^ | = note: for more information, see rust-lang/rust#60258
dtolnay
added a commit
to dtolnay/async-trait
that referenced
this issue
Aug 11, 2020
1.39 is still supported but tracing-attributes in our test deps assumes 1.40. error[E0658]: use of unstable library feature 'option_flattening' --> tracing-attributes-0.1.10/src/lib.rs:933:10 | 933 | .flatten(); | ^^^^^^^ | = note: for more information, see rust-lang/rust#60258
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
B-unstable
Blocker: Implemented in the nightly compiler and unstable.
C-tracking-issue
Category: A tracking issue for an RFC or an unstable feature.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
PR
The text was updated successfully, but these errors were encountered: