mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The defaults we were generating for Collection and BidirectionalCollection didn't make any sense, because if you could do that strideable arithmetic then you essentially had random access. Instead we constrain the defaults to apply to RandomAccessCollection where the Indices are a CountableRange.
6.3 KiB
6.3 KiB