mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-23 04:14:28 +00:00
![]() 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 |