Skip to content

Commit f03c1fe

Browse files
committed
Clarify an explanation
1 parent 70f4d7e commit f03c1fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/StringStorageBridge.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ extension _AbstractStringStorage {
166166
// CFString will only give us ASCII bytes here, but that's fine.
167167
// We already handled non-ASCII UTF8 strings earlier since they're Swift.
168168
if let asciiEqual = unsafe withCocoaASCIIPointer(other, work: { (ascii) -> Bool in
169-
// otherUTF16Length is the same as the byte count here IFF it's ASCII
169+
// otherUTF16Length is the same as the byte count here since it's ASCII
170170
// self.count could still be utf8
171171
if count != otherUTF16Length {
172172
return false

0 commit comments

Comments
 (0)