We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08e0b70 commit 59cca24Copy full SHA for 59cca24
stdlib/public/core/UIntBuffer.swift
@@ -62,9 +62,7 @@ extension _UIntBuffer : Sequence {
62
}
63
64
65
-extension _UIntBuffer : Collection {
66
- public typealias _Element = Element
67
-
+extension _UIntBuffer : Collection {
68
public struct Index : Comparable {
69
@_versioned
70
var bitOffset: UInt8
@@ -178,7 +176,7 @@ extension _UIntBuffer : RangeReplaceableCollection {
178
176
@inline(__always)
179
177
public mutating func replaceSubrange<C: Collection>(
180
_ target: Range<Index>, with replacement: C
181
- ) where C._Element == Element {
+ ) where C.Element == Element {
182
_debugPrecondition(
183
(0..<_bitCount)._contains_(
184
target.lowerBound.bitOffset..<target.upperBound.bitOffset))
0 commit comments