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 79b33ef commit 834e82bCopy full SHA for 834e82b
stdlib/public/core/StringBridge.swift
@@ -409,9 +409,8 @@ private func _getCocoaStringPointer(
409
if let ascii = stableCocoaASCIIPointer(cfImmutableValue) {
410
return .ascii(ascii)
411
}
412
- if let utf16Ptr = _stdlib_binary_CFStringGetCharactersPtr(cfImmutableValue) {
413
- return .utf16(utf16Ptr)
414
- }
+ // We could ask for UTF16 here via _stdlib_binary_CFStringGetCharactersPtr,
+ // but we currently have no use for it
415
return .none
416
417
0 commit comments