File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ pub use crate::set::HashSet;
120120/// Key equivalence trait.
121121///
122122/// This trait defines the function used to compare the input value with the
123- /// map keys (or set values) during a lookup operation sur as [`HashMap::get`]
123+ /// map keys (or set values) during a lookup operation such as [`HashMap::get`]
124124/// or [`HashSet::contains`].
125125/// It is provided with a blanket implementation based on the
126126/// [`Borrow`](core::borrow::Borrow) trait.
@@ -131,7 +131,7 @@ pub use crate::set::HashSet;
131131pub trait Equivalent < K : ?Sized > {
132132 /// Checks if this value is equivalent to the given key.
133133 ///
134- /// Returns `true` if oth values are equivalent, and `false` otherwise.
134+ /// Returns `true` if both values are equivalent, and `false` otherwise.
135135 ///
136136 /// # Correctness
137137 ///
You can’t perform that action at this time.
0 commit comments