From 2463266847414ab970e2f4c45bac769aa6cc9bc2 Mon Sep 17 00:00:00 2001
From: Devon Carew ExtraSpecialList
element
, unless it has a more efficient way to find an element
equal to element
.
The equality used to determine whether element
is equal to an element of
-the iterable defaults to the Object.operator==
of the element.
Object.==
of the element.
Some types of iterable may have a different equality used for its elements.
For example, a Set
may have a custom equality
(see Set.identical
) that its contains
uses.
diff --git a/testing/test_package_docs/fake/SpecialList/contains.html b/testing/test_package_docs/fake/SpecialList/contains.html
index cdc7358c84..2c77d6ae46 100644
--- a/testing/test_package_docs/fake/SpecialList/contains.html
+++ b/testing/test_package_docs/fake/SpecialList/contains.html
@@ -158,7 +158,7 @@
element
, unless it has a more efficient way to find an element
equal to element
.
The equality used to determine whether element
is equal to an element of
-the iterable defaults to the Object.operator==
of the element.
Object.==
of the element.
Some types of iterable may have a different equality used for its elements.
For example, a Set
may have a custom equality
(see Set.identical
) that its contains
uses.