mirror of https://github.com/stelzo/typst.git
Remove link to `Option::contains`, since it has been removed (#1399)
This commit is contained in:
parent
9cae387480
commit
f453565ebf
|
|
@ -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.
|
/// 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
|
pub fn option_eq<L, R>(left: Option<L>, other: R) -> bool
|
||||||
where
|
where
|
||||||
L: PartialEq<R>,
|
L: PartialEq<R>,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue