Skip to content

Commit f300622

Browse files
committed
[stdlib] Mark _NativeSet._delete as non-releasing
Following a previous change that did this for Dictionary.
1 parent d6e31a8 commit f300622

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/public/core/NativeSet.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,7 @@ extension _NativeSet: _HashTableDelegate {
442442

443443
extension _NativeSet { // Deletion
444444
@inlinable
445+
@_effects(releasenone)
445446
internal mutating func _delete(at bucket: Bucket) {
446447
hashTable.delete(at: bucket, with: self)
447448
_storage._count -= 1

0 commit comments

Comments
 (0)