We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70f4d7e commit f03c1feCopy full SHA for f03c1fe
stdlib/public/core/StringStorageBridge.swift
@@ -166,7 +166,7 @@ extension _AbstractStringStorage {
166
// CFString will only give us ASCII bytes here, but that's fine.
167
// We already handled non-ASCII UTF8 strings earlier since they're Swift.
168
if let asciiEqual = unsafe withCocoaASCIIPointer(other, work: { (ascii) -> Bool in
169
- // otherUTF16Length is the same as the byte count here IFF it's ASCII
+ // otherUTF16Length is the same as the byte count here since it's ASCII
170
// self.count could still be utf8
171
if count != otherUTF16Length {
172
return false
0 commit comments