mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 10:13:54 +00:00
8e606a6928
Replace `option.map(cond) == Some(true)` with `option.is_some_and(cond)` Requested by `@fmease` in https://github.com/rust-lang/rust/pull/118226#pullrequestreview-1747432292. There is also a much larger number of `option.map_or(false, cond)` that can be changed separately if someone wants. r? fmease |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |