rust/compiler/rustc_trait_selection
Manish Goregaokar d0b3ebee66
Rollup merge of #111912 - WaffleLapkin:is_some_and_in_the_compiler, r=petrochenkov
Use `Option::is_some_and` and `Result::is_ok_and` in the compiler

`.is_some_and(..)`/`.is_ok_and(..)` replace `.map_or(false, ..)` and `.map(..).unwrap_or(false)`, making the code more readable.

This PR is a sibling of https://github.com/rust-lang/rust/pull/111873#issuecomment-1561316515
2023-05-24 15:05:05 -07:00
..
src Rollup merge of #111912 - WaffleLapkin:is_some_and_in_the_compiler, r=petrochenkov 2023-05-24 15:05:05 -07:00
Cargo.toml drop unused deps, gate libc under unix for one crate 2023-04-22 15:22:21 +03:00
messages.ftl IAT: Introduce AliasKind::Inherent 2023-05-04 16:59:10 +02:00