mirror of
https://github.com/apple/swift-collections
synced 2026-11-30 05:18:44 +00:00
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:
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) }
|
||||
|
||||
Reference in new issue
Block a user