Skip to content

Commit 5d745fe

Browse files
committed
Update MinimalCollections.swift
1 parent 0646c61 commit 5d745fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/private/StdlibCollectionUnittest/MinimalCollections.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1763,7 +1763,7 @@ public struct MinimalBidirectionalRandomAccessCollection<T> : BidirectionalColle
17631763
}
17641764
}
17651765

1766-
public subscript(bounds: Range<MinimalIndex>) -> Slice<MinimalBidirectionalCollection<T>> {
1766+
public subscript(bounds: Range<MinimalIndex>) -> Slice<MinimalBidirectionalRandomAccessCollection<T>> {
17671767
get {
17681768
_failEarlyRangeCheck(bounds, bounds: startIndex..<endIndex)
17691769
return Slice(base: self, bounds: bounds)

0 commit comments

Comments
 (0)