Rollup merge of #79299 - varkor:stabilise-then, r=m-ou-se
Stabilise `then` Stabilises the lazy variant of https://github.com/rust-lang/rust/issues/64260 now that the FCP [has ended](https://github.com/rust-lang/rust/issues/64260#issuecomment-731636203). I've kept the original feature gate `bool_to_option` for the strict variant (`then_some`), and created a new insta-stable feature gate `lazy_bool_to_option` for `then`.
This commit is contained in:
commit
41c033b2f7
6 changed files with 1 additions and 8 deletions
|
@ -1,6 +1,5 @@
|
|||
//! The main parser interface.
|
||||
|
||||
#![feature(bool_to_option)]
|
||||
#![feature(crate_visibility_modifier)]
|
||||
#![feature(bindings_after_at)]
|
||||
#![feature(iter_order_by)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue