if $c:expr { Some($r:expr) } else { None }
=>> $c.then(|| $r)
#108079
Merged
bors merged 1 commit intorust-lang:master from WaffleLapkin:if_not_now_then_whenFeb 15, 2023
+161-286