Replace option.map(cond) == Some(true)
with option.is_some_and(cond)
#118253
Merged
bors merged 1 commit intorust-lang:master from dtolnay:issomeandNov 25, 2023
+21-22
option.map(cond) == Some(true)
with option.is_some_and(cond)
#118253