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.
2 parents 2b30f88 + dd45c80 commit 6a9e38eCopy full SHA for 6a9e38e
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