I really hate that they removed the Option::contains function
Like why? Now we have to write my_option.is_some_and(|my_value| my_value == my_non_option_value).
What was the reasoning behind removing this method? I remember reading a reasoning somewhere when it got removed that it was unnecessary because they were stabilizing is_some_and. But contains is just so much more ergonomic.
EDIT: Okay you can write my_option == Some(my_value). But I still think contains is more readable and don't see the reason it was removed