maximumCount → maxCount

While we’re here, adjust `RigidSet.insert(maximumCount:initializingWith:)` and similar APIs to be consistent with RangeReplaceableContainer’s methods.
This commit is contained in:
Karoy Lorentey committed 2026-07-07 14:21:53 -07:00
1 parent 72c0dd258d
commit bb0dc189ef
64 files changed
+505 -275

No files matched your search

@@ -162,7 +162,7 @@ extension BitArray._UnsafeHandle {
var it = source.makeIterator()
if pos.bit > 0 {
let (bits, count) = it._nextChunk(
maximumCount: _Word._capacity - pos.bit)
maxCount: _Word._capacity - pos.bit)
_copy(bits: bits, count: count, to: pos)
pos.value += count
}