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 539b49b commit 0c7d872Copy full SHA for 0c7d872
stdlib/public/core/StringBridge.swift
@@ -624,7 +624,7 @@ extension String {
624
_connectOrphanedFoundationSubclassesIfNeeded()
625
626
if _guts.isSmall {
627
- return unsafe _guts.asSmall.withUTF8 { bufPtr in
+ return _guts.asSmall.withUTF8 { bufPtr in
628
// Smol ASCII a) may bridge to tagged pointers, b) can't contain a BOM
629
if _guts.isSmallASCII, let result = unsafe _createCFString(
630
bufPtr.baseAddress._unsafelyUnwrappedUnchecked,
0 commit comments