File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -566,7 +566,7 @@ extension LazyCollectionProtocol
566
566
}
567
567
568
568
// @available(*, deprecated, renamed: "FlattenCollection.Index")
569
- public typealias FlattenCollectionIndex < T> = FlattenCollection < T > . Index where T : BidirectionalCollection , T. Element : BidirectionalCollection
569
+ public typealias FlattenCollectionIndex < T> = FlattenCollection < T > . Index where T : Collection , T. Element : Collection
570
570
@available ( * , deprecated, renamed: " FlattenCollection.Index " )
571
571
public typealias FlattenBidirectionalCollectionIndex < T> = FlattenCollection < T > . Index where T : BidirectionalCollection, T. Element : BidirectionalCollection
572
572
@available ( * , deprecated, renamed: " FlattenCollection " )
Original file line number Diff line number Diff line change @@ -1291,6 +1291,11 @@ do {
1291
1291
}
1292
1292
}
1293
1293
1294
+ struct TryFlattenIndex<C: Collection> where C.Element: Collection {
1295
+ typealias FlattenedIndex = FlattenCollectionIndex<C>
1296
+ }
1297
+
1298
+
1294
1299
//===--- LazyPrefixWhile --------------------------------------------------===//
1295
1300
1296
1301
let prefixDropWhileTests: [(data: [Int], value: Int, pivot: Int)] = [
You can’t perform that action at this time.
0 commit comments