mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
stdlib/comments: UTF-8 and UTF-16 are spelled with a dash
Swift SVN r19466
This commit is contained in:
@@ -131,8 +131,7 @@ extension String {
|
||||
}
|
||||
|
||||
@public func compare(other : UnicodeScalarView) -> Int {
|
||||
// Try to compare the string without decoding
|
||||
// the UTF16 string.
|
||||
// Try to compare the string without decoding the UTF-16 string.
|
||||
var aIdx = self._core.startIndex
|
||||
var bIdx = other._core.startIndex
|
||||
var aEnd = self._core.endIndex
|
||||
|
||||
Reference in New Issue
Block a user