mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 18:15:07 +03:00
ae1b871cca
Rename `bool::then_*` to `bool::to_option_*` and use where appropriate Name change following https://github.com/rust-lang/rfcs/pull/2757. Also try it out throughout the compiler in places I think makes the code more readable.