Skip to content

Commit 59cca24

Browse files
committed
Fix UIntBuffer
1 parent 08e0b70 commit 59cca24

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

stdlib/public/core/UIntBuffer.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,7 @@ extension _UIntBuffer : Sequence {
6262
}
6363
}
6464

65-
extension _UIntBuffer : Collection {
66-
public typealias _Element = Element
67-
65+
extension _UIntBuffer : Collection {
6866
public struct Index : Comparable {
6967
@_versioned
7068
var bitOffset: UInt8
@@ -178,7 +176,7 @@ extension _UIntBuffer : RangeReplaceableCollection {
178176
@inline(__always)
179177
public mutating func replaceSubrange<C: Collection>(
180178
_ target: Range<Index>, with replacement: C
181-
) where C._Element == Element {
179+
) where C.Element == Element {
182180
_debugPrecondition(
183181
(0..<_bitCount)._contains_(
184182
target.lowerBound.bitOffset..<target.upperBound.bitOffset))

0 commit comments

Comments
 (0)