We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
#[inline]
DefaultHasher::{new,default}
1 parent 303ab34 commit a4f1331Copy full SHA for a4f1331
library/std/src/collections/hash/map.rs
@@ -3140,6 +3140,7 @@ impl DefaultHasher {
3140
/// `DefaultHasher` instances, but is the same as all other `DefaultHasher`
3141
/// instances created through `new` or `default`.
3142
#[stable(feature = "hashmap_default_hasher", since = "1.13.0")]
3143
+ #[inline]
3144
#[allow(deprecated)]
3145
#[must_use]
3146
pub fn new() -> DefaultHasher {
@@ -3153,6 +3154,7 @@ impl Default for DefaultHasher {
3153
3154
/// See its documentation for more.
3155
///
3156
/// [`new`]: DefaultHasher::new
3157
3158
fn default() -> DefaultHasher {
3159
DefaultHasher::new()
3160
}
0 commit comments