Skip to content

Commit 6ce34bf

Browse files
authored
Merge pull request #25795 from Catfish-Man/very-normal-hash-5_1
Remove a retain release pair in foreign string hashing
2 parents bf61952 + 8a84fa1 commit 6ce34bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/StringHashable.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ extension StringProtocol {
4444
}
4545

4646
extension _StringGutsSlice {
47-
@inline(never) // slow-path
47+
@_effects(releasenone) @inline(never) // slow-path
4848
internal func _normalizedHash(into hasher: inout Hasher) {
4949
if self.isNFCFastUTF8 {
5050
self.withFastUTF8 {

0 commit comments

Comments
 (0)