mirror of
https://github.com/apple/swift-collections
synced 2026-11-26 04:47:48 +00:00
Include notes about index mutation in span(after/before:)
The indexes passed to span(after:) and friends on UniqueArray and RigidArray are modified before return. This adds notes about the updated values to the method documentation, along with a few other minor formatting changes (dropping smart quotes, single-sentence abstracts).
This commit is contained in:
1 parent
aa337b4caf
commit
54ca53612f
28 files changed
+143
-109
No files matched your search
@@ -45,7 +45,7 @@ extension BitArray: RandomAccessCollection, MutableCollection {
|
||||
@inlinable @inline(__always)
|
||||
public var startIndex: Int { 0 }
|
||||
|
||||
/// The collection’s “past the end” position--that is, the position one step
|
||||
/// The collection's "past the end" position--that is, the position one step
|
||||
/// after the last valid subscript argument.
|
||||
///
|
||||
/// - Complexity: O(1)
|
||||
|
||||
Reference in new issue
Block a user