mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[stdlib][swift-3-indexing-model] fixing more tests
Algorithm and SequenceWrapperTest
This commit is contained in:
@@ -96,7 +96,7 @@ Algorithm.test("sorted/strings")
|
||||
|
||||
// A wrapper around Array<T> that disables any type-specific algorithm
|
||||
// optimizations and forces bounds checking on.
|
||||
struct A<T> : MutableCollection {
|
||||
struct A<T> : MutableCollection, RandomAccessCollection {
|
||||
init(_ a: Array<T>) {
|
||||
impl = a
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user