mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-02 09:47:57 +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