File tree 1 file changed +2
-2
lines changed
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;
120
120
/// Key equivalence trait.
121
121
///
122
122
/// 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`]
124
124
/// or [`HashSet::contains`].
125
125
/// It is provided with a blanket implementation based on the
126
126
/// [`Borrow`](core::borrow::Borrow) trait.
@@ -131,7 +131,7 @@ pub use crate::set::HashSet;
131
131
pub trait Equivalent < K : ?Sized > {
132
132
/// Checks if this value is equivalent to the given key.
133
133
///
134
- /// Returns `true` if oth values are equivalent, and `false` otherwise.
134
+ /// Returns `true` if both values are equivalent, and `false` otherwise.
135
135
///
136
136
/// # Correctness
137
137
///
You can’t perform that action at this time.
0 commit comments