Skip to content

Commit 1f4bdd4

Browse files
authored
Merge pull request #71481 from Azoy/fast-nfc-check-fix
[stdlib] Do a fast NFC check over the slice instead of guts
2 parents fc23eef + aadf4a1 commit 1f4bdd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/String.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1169,7 +1169,7 @@ extension _StringGutsSlice {
11691169
}
11701170

11711171
internal func _fastNFCCheck(_ isNFCQC: inout Bool, _ prevCCC: inout UInt8) {
1172-
_guts.withFastUTF8 { utf8 in
1172+
withFastUTF8 { utf8 in
11731173
var position = 0
11741174

11751175
while position < utf8.count {

0 commit comments

Comments
 (0)