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 91ffbc4 commit 19db85dCopy full SHA for 19db85d
library/std/src/process.rs
@@ -1683,8 +1683,9 @@ impl ExitCode {
1683
// representation of an ExitCode
1684
//
1685
// More info: https://internals.rust-lang.org/t/mini-pre-rfc-redesigning-process-exitstatus/5426
1686
- #[unstable(feature = "process_exitcode_placeholder", issue = "48711")]
1687
/// Convert an ExitCode into an i32
+ #[unstable(feature = "process_exitcode_placeholder", issue = "48711")]
1688
+ #[inline]
1689
pub fn to_i32(self) -> i32 {
1690
self.0.as_i32()
1691
}
0 commit comments