mirror of
https://github.com/apple/swift-collections
synced 2026-11-24 04:27:53 +00:00
[Capsule] Fix invariant references
This commit is contained in:
1 parent
84a47155fb
commit
2b0574ca99
1 file changed
+2
-2
@@ -497,7 +497,7 @@ final class BitmapIndexedMapNode<Key, Value>: ManagedBuffer<Header, Element>, Ma
|
||||
dataRange.startIndex[idx] = (key, newValue)
|
||||
}
|
||||
|
||||
assert(dst.contentInvariant)
|
||||
assert(dst.invariant)
|
||||
return dst
|
||||
}
|
||||
|
||||
@@ -525,7 +525,7 @@ final class BitmapIndexedMapNode<Key, Value>: ManagedBuffer<Header, Element>, Ma
|
||||
trieRange.startIndex[idx] = newNode as AnyObject
|
||||
}
|
||||
|
||||
assert(dst.contentInvariant)
|
||||
assert(dst.invariant)
|
||||
return dst
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user