mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[stdlib] location/formLocation => index/formIndex
This commit is contained in:
@@ -248,7 +248,7 @@ extension UnicodeScalar.UTF16View : Collection {
|
||||
///
|
||||
/// `endIndex` is not a valid argument to `subscript`, and is always
|
||||
/// reachable from `startIndex` by zero or more applications of
|
||||
/// `location(after:)`.
|
||||
/// `index(after:)`.
|
||||
var endIndex: Int {
|
||||
return 0 + UTF16.width(value)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user