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 025bcb1 commit dd45c80Copy full SHA for dd45c80
Sources/System/PlatformString.swift
@@ -20,6 +20,7 @@ extension String {
20
/// This means that, depending on the semantics of the specific platform,
21
/// conversion to a string and back might result in a value that's different
22
/// from the original platform string.
23
+ @_disfavoredOverload
24
public init(platformString: UnsafePointer<CInterop.PlatformChar>) {
25
self.init(_errorCorrectingPlatformString: platformString)
26
}
0 commit comments