mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
stdlib: underscore-prefix String.core
Swift SVN r20411
This commit is contained in:
@@ -68,7 +68,7 @@ extension String {
|
||||
/// Return an `Index` corresponding to the given offset in our UTF-16
|
||||
/// representation.
|
||||
func _index(utf16Index: Int) -> Index {
|
||||
return Index(String.UnicodeScalarView.Index(utf16Index, core))
|
||||
return Index(String.UnicodeScalarView.Index(utf16Index, _core))
|
||||
}
|
||||
|
||||
/// Return a `Range<Index>` corresponding to the given `NSRange` of
|
||||
|
||||
Reference in New Issue
Block a user