summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2023-06-02 16:43:03 -0400
committerGitHub <noreply@github.com>2023-06-02 22:43:03 +0200
commitf453565ebf061581f398eb3a5dcfb7a35a5ad04a (patch)
treeb998317ff4e97e29c8b26d5b3962b6584699b81c /src
parent9cae387480db7afe49a76bd28daac13ba7cf1b25 (diff)
Remove link to `Option::contains`, since it has been removed (#1399)
Diffstat (limited to 'src')
-rw-r--r--src/util/mod.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/util/mod.rs b/src/util/mod.rs
index f96fa55e..71c5aefc 100644
--- a/src/util/mod.rs
+++ b/src/util/mod.rs
@@ -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>,