mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[stdlib] More RandomAccessCollection conformances
I missed a few the first time around.
This commit is contained in:
@@ -238,7 +238,7 @@ extension UnicodeScalar {
|
||||
}
|
||||
}
|
||||
|
||||
extension UnicodeScalar.UTF16View : Collection {
|
||||
extension UnicodeScalar.UTF16View : RandomAccessCollection {
|
||||
/// The position of the first code unit.
|
||||
var startIndex: Int {
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user