We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d5f6d7f + 66db9b4 commit c1a7b71Copy full SHA for c1a7b71
stdlib/public/core/HashTable.swift
@@ -406,7 +406,7 @@ extension _HashTable {
406
@_effects(releasenone)
407
internal func copyContents(of other: _HashTable) {
408
_internalInvariant(bucketCount == other.bucketCount)
409
- self.words.assign(from: other.words, count: bucketCount)
+ self.words.assign(from: other.words, count: wordCount)
410
}
411
412
/// Insert a new entry with the specified hash value into the table.
0 commit comments