Skip to content

Commit 3cd9868

Browse files
committed
Add doc comment for Default impl on DefaultHasher.
1 parent 06b8d1d commit 3cd9868

File tree

1 file changed

+4
-0
lines changed
  • src/libstd/collections/hash

1 file changed

+4
-0
lines changed

src/libstd/collections/hash/map.rs

+4
Original file line numberDiff line numberDiff line change
@@ -2108,6 +2108,10 @@ impl DefaultHasher {
21082108

21092109
#[stable(feature = "hashmap_default_hasher", since = "1.13.0")]
21102110
impl Default for DefaultHasher {
2111+
/// Creates a new `DefaultHasher` using [`DefaultHasher::new`]. See
2112+
/// [`DefaultHasher::new`] documentation for more information.
2113+
///
2114+
/// [`DefaultHasher::new`]: #method.new
21112115
fn default() -> DefaultHasher {
21122116
DefaultHasher::new()
21132117
}

0 commit comments

Comments
 (0)