[HashTreeCollections] Modernize declaration syntax of generic functions; adopt _specialize(_:for:)

This commit is contained in:
Karoy Lorentey committed 2024-02-02 16:20:19 -08:00
1 parent a5117b49f4
commit d1e52208a3
18 files changed
+108 -97

No files matched your search

@@ -17,7 +17,7 @@ internal struct _Hash {
internal var value: UInt
@inlinable
internal init<Key: Hashable>(_ key: Key) {
internal init(_ key: some Hashable) {
let hashValue = key._rawHashValue(seed: 0)
self.value = UInt(bitPattern: hashValue)
}