mirror of
https://github.com/typst/typst
synced 2025-05-17 02:25:27 +08:00
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.
|
||||
///
|
||||
/// This is the stable version of [`Option::contains`].
|
||||
pub fn option_eq<L, R>(left: Option<L>, other: R) -> bool
|
||||
where
|
||||
L: PartialEq<R>,
|
||||
|
Loading…
x
Reference in New Issue
Block a user