Skip to content

Commit 0e060b7

Browse files
authored
Merge pull request #144 from kateinoigakukun/katei/fix-rename-typo
Fix typos in renaming message for `Errno`
2 parents 8a8552f + 1ccaee1 commit 0e060b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/System/Errno.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public struct Errno: RawRepresentable, Error, Hashable, Codable {
142142
public static var execFormatError: Errno { Errno(_ENOEXEC) }
143143

144144
@_alwaysEmitIntoClient
145-
@available(*, unavailable, renamed: "noExec")
145+
@available(*, unavailable, renamed: "execFormatError")
146146
public static var ENOEXEC: Errno { execFormatError }
147147

148148
/// Bad file descriptor.
@@ -529,7 +529,7 @@ public struct Errno: RawRepresentable, Error, Hashable, Codable {
529529
public static var nowInProgress: Errno { Errno(_EINPROGRESS) }
530530

531531
@_alwaysEmitIntoClient
532-
@available(*, unavailable, renamed: "nowInProcess")
532+
@available(*, unavailable, renamed: "nowInProgress")
533533
public static var EINPROGRESS: Errno { nowInProgress }
534534

535535
/// Operation already in progress.

0 commit comments

Comments
 (0)