Add doc comment for `Default` `impl` on `DefaultHasher`.
This commit is contained in:
parent
06b8d1d361
commit
3cd98685e4
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue