diff --git a/Sources/System/FilePath/FilePathString.swift b/Sources/System/FilePath/FilePathString.swift index b690979..5b71f30 100644 --- a/Sources/System/FilePath/FilePathString.swift +++ b/Sources/System/FilePath/FilePathString.swift @@ -42,7 +42,7 @@ extension FilePath { @inlinable @_alwaysEmitIntoClient - @available(*, deprecated, message: "Use FilePath(_: String) to create a path from a String.") + @available(*, deprecated, message: "Use FilePath.init(_ scalar: Unicode.Scalar)") public init(platformString: inout CInterop.PlatformChar) { guard platformString == 0 else { fatalError( @@ -54,7 +54,7 @@ extension FilePath { @inlinable @_alwaysEmitIntoClient - @available(*, deprecated, message: "Use FilePath(_: String) to create a path from a String.") + @available(*, deprecated, message: "Use FilePath(_: String) to create a path from a String") public init(platformString: String) { if let nullLoc = platformString.firstIndex(of: "\0") { self = FilePath(String(platformString[..