Skip to content

Commit 70f4d7e

Browse files
committed
Review comment
1 parent e7ba163 commit 70f4d7e

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
@@ -169,7 +169,7 @@ extension _AbstractStringStorage {
169169
// otherUTF16Length is the same as the byte count here IFF it's ASCII
170170
// self.count could still be utf8
171171
if count != otherUTF16Length {
172-
return 0
172+
return false
173173
}
174174
return unsafe (start == ascii || (memcmp(start, ascii, otherUTF16Length) == 0))
175175
}) {

0 commit comments

Comments
 (0)