mirror of
https://github.com/apple/swift-system
synced 2026-11-26 04:57:54 +00:00
Fix typos in renaming message for Errno
This commit is contained in:
1 parent
164fe8ce93
commit
1ccaee141c
1 file changed
+2
-2
@@ -142,7 +142,7 @@ public struct Errno: RawRepresentable, Error, Hashable, Codable {
|
||||
public static var execFormatError: Errno { Errno(_ENOEXEC) }
|
||||
|
||||
@_alwaysEmitIntoClient
|
||||
@available(*, unavailable, renamed: "noExec")
|
||||
@available(*, unavailable, renamed: "execFormatError")
|
||||
public static var ENOEXEC: Errno { execFormatError }
|
||||
|
||||
/// Bad file descriptor.
|
||||
@@ -529,7 +529,7 @@ public struct Errno: RawRepresentable, Error, Hashable, Codable {
|
||||
public static var nowInProgress: Errno { Errno(_EINPROGRESS) }
|
||||
|
||||
@_alwaysEmitIntoClient
|
||||
@available(*, unavailable, renamed: "nowInProcess")
|
||||
@available(*, unavailable, renamed: "nowInProgress")
|
||||
public static var EINPROGRESS: Errno { nowInProgress }
|
||||
|
||||
/// Operation already in progress.
|
||||
|
||||
Reference in new issue
Block a user