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

@@ -285,7 +285,7 @@ extension BitArray {
var pos = _BitPosition(_count)
if pos.bit > 0 {
let (bits, count) = it._nextChunk(
maximumCount: _Word._capacity - pos.bit)
maxCount: _Word._capacity - pos.bit)
guard count > 0 else { return }
_count += count
_update { $0._copy(bits: bits, count: count, to: pos) }