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
..
2023-04-14 13:04:58 +00:00
2023-04-18 14:13:19 -04:00
2023-05-06 10:23:51 +08:00
2023-05-16 12:09:24 +00:00
2023-04-09 23:22:14 +02:00
2023-05-16 11:55:47 +00:00
2023-04-20 19:54:10 +00:00
2023-04-09 23:22:14 +02:00