Conformed Failable<RandomAccessCollection, T> type to RandomAccessCollection protocol
This commit is contained in:
parent
b329cc43d4
commit
b2f62e5d5f
|
@ -34,3 +34,5 @@ extension Failable: BidirectionalCollection where T: BidirectionalCollection {
|
|||
return self.value.index(before: i)
|
||||
}
|
||||
}
|
||||
|
||||
extension Failable: RandomAccessCollection where T: RandomAccessCollection {}
|
||||
|
|
Loading…
Reference in New Issue