Skip to content

Commit 297c82d

Browse files
committed
[stdlib] Hasher._combine(bytes:,count:): Make internal and forcibly inlined
1 parent 9c617ab commit 297c82d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

stdlib/public/core/Hasher.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,7 @@ extension Hasher { // Combining integers
235235
self._combine(bytes: UInt64(truncatingIfNeeded: value), count: 1)
236236
}
237237

238-
@usableFromInline
239-
@_effects(releasenone)
238+
@inline(__always)
240239
internal mutating func _combine(bytes: UInt64, count: Int) {
241240
_sanityCheck(count >= 0 && count < 8)
242241
let count = UInt64(truncatingIfNeeded: count)

0 commit comments

Comments
 (0)