mirror of
https://github.com/apple/swift-collections
synced 2026-11-26 04:47:48 +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
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user