We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 60b4ea0 + 51e4c1f commit bba398eCopy full SHA for bba398e
src/libstd/collections/hash/map.rs
@@ -354,7 +354,7 @@ const DISPLACEMENT_THRESHOLD: usize = 128;
354
/// *stat += random_stat_buff();
355
/// ```
356
///
357
-/// The easiest way to use `HashMap` with a custom type as key is to derive [`Eq`] and [`Hash`].
+/// The easiest way to use `HashMap` with a custom key type is to derive [`Eq`] and [`Hash`].
358
/// We must also derive [`PartialEq`].
359
360
/// [`Eq`]: ../../std/cmp/trait.Eq.html
0 commit comments