We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01c6ea2 commit 51e4c1fCopy full SHA for 51e4c1f
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