diff options
| author | Ralf Jung <post@ralfj.de> | 2024-11-02 11:24:28 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-11-02 11:27:14 +0100 |
| commit | 52666238cfadb8b5780ffa337ad3128c2c7726af (patch) | |
| tree | a55d09d03078bf23419b5ad62174d0d8c19e3aef /library/std/src/hash | |
| parent | 34432f749463983e140e5047fb33b212e695f36a (diff) | |
remove const_hash feature leftovers
Diffstat (limited to 'library/std/src/hash')
| -rw-r--r-- | library/std/src/hash/random.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/library/std/src/hash/random.rs b/library/std/src/hash/random.rs index 40f3a90f60c..236803b24a2 100644 --- a/library/std/src/hash/random.rs +++ b/library/std/src/hash/random.rs @@ -105,9 +105,8 @@ impl DefaultHasher { #[stable(feature = "hashmap_default_hasher", since = "1.13.0")] #[inline] #[allow(deprecated)] - #[rustc_const_unstable(feature = "const_hash", issue = "104061")] #[must_use] - pub const fn new() -> DefaultHasher { + pub fn new() -> DefaultHasher { DefaultHasher(SipHasher13::new_with_keys(0, 0)) } } |
