Skip to content

Commit

Permalink
Add doc comment for Default impl on DefaultHasher.
Browse files Browse the repository at this point in the history
  • Loading branch information
frewsxcv committed Dec 7, 2016
1 parent 06b8d1d commit 3cd9868
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/libstd/collections/hash/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2108,6 +2108,10 @@ impl DefaultHasher {

#[stable(feature = "hashmap_default_hasher", since = "1.13.0")]
impl Default for DefaultHasher {
/// Creates a new `DefaultHasher` using [`DefaultHasher::new`]. See
/// [`DefaultHasher::new`] documentation for more information.
///
/// [`DefaultHasher::new`]: #method.new
fn default() -> DefaultHasher {
DefaultHasher::new()
}
Expand Down

0 comments on commit 3cd9868

Please sign in to comment.