You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
changed the title [-]Add flatten option to `Option<Option<T>>` with `Into` trait or new method.[/-][+]Tracking issue for `Option::flatten`[/+]on Apr 25, 2019
Activity
[-]Add flatten option to `Option<Option<T>>` with `Into` trait or new method.[/-][+]Tracking issue for `Option::flatten`[/+]elahn commentedon Sep 10, 2019
I was trying to
flat_map()
and foundmap().flatten()
does the trick. This has been on nightly for 4 months, can we stabilise it?eopb commentedon Sep 10, 2019
@Centril Helped me get this merged. What is the stabilization process?
Centril commentedon Sep 10, 2019
@ethanboxx I'd just file a PR to stabilize it and we'll ask T-libs to FCP.
Option::flatten
#64747Rollup merge of rust-lang#64747 - ethanboxx:master, r=Centril
Rollup merge of rust-lang#64747 - ethanboxx:master, r=Centril
Dylan-DPC-zz commentedon Dec 25, 2019
The feature has been stabilised. Closing this. Thanks :)
Raise minimum tested version to 1.40
Raise minimum tested version to 1.40