Add doc comment for `Default` `impl` on `DefaultHasher`.

This commit is contained in:
Corey Farwell 2016-12-05 15:34:19 -08:00
parent 06b8d1d361
commit 3cd98685e4
1 changed files with 4 additions and 0 deletions

View File

@ -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()
}