stdlib/comments: UTF-8 and UTF-16 are spelled with a dash

Swift SVN r19466
This commit is contained in:
Dmitri Hrybenko
2014-07-02 15:45:38 +00:00
parent 99f9f721f2
commit 57df21cefe
12 changed files with 58 additions and 47 deletions

View File

@@ -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