Remove link to Option::contains, since it has been removed (#1399)

This commit is contained in:
figsoda 2023-06-02 16:43:03 -04:00 committed by GitHub
parent 9cae387480
commit f453565ebf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -227,8 +227,6 @@ pub fn pretty_array_like(parts: &[impl AsRef<str>], trailing_comma: bool) -> Str
}
/// Check if the [`Option`]-wrapped L is same to R.
///
/// This is the stable version of [`Option::contains`].
pub fn option_eq<L, R>(left: Option<L>, other: R) -> bool
where
L: PartialEq<R>,