mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-03 18:57:19 +00:00

`if $c:expr { Some($r:expr) } else { None }` =>> `$c.then(|| $r)` Resurrection of #108079
`if $c:expr { Some($r:expr) } else { None }` =>> `$c.then(|| $r)` Resurrection of #108079