diff options
| author | Aron Parker <hl3mukkel@gmail.com> | 2022-06-10 14:55:13 +0200 |
|---|---|---|
| committer | Aron Parker <hl3mukkel@gmail.com> | 2022-06-10 14:55:13 +0200 |
| commit | b13af732f74bb84a5af522c4e2f5b51950747f0d (patch) | |
| tree | 081184c855e5901a92eff37d162de1e9876aab95 | |
| parent | eb783d9632e054f318ac35613408a3d13774d67f (diff) | |
| download | rust-b13af732f74bb84a5af522c4e2f5b51950747f0d.tar.gz rust-b13af732f74bb84a5af522c4e2f5b51950747f0d.zip | |
Make "windows_process_exit_code_from" unstable
| -rw-r--r-- | library/std/src/os/windows/process.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/std/src/os/windows/process.rs b/library/std/src/os/windows/process.rs index 2da1b159d72..164da2a49f7 100644 --- a/library/std/src/os/windows/process.rs +++ b/library/std/src/os/windows/process.rs @@ -199,7 +199,7 @@ impl ChildExt for process::Child { /// /// This trait is sealed: it cannot be implemented outside the standard library. /// This is so that future additional methods are not breaking changes. -#[stable(feature = "windows_process_exit_code_from", since = "1.63.0")] +#[unstable(feature = "windows_process_exit_code_from", issue = "none")] pub trait ExitCodeExt: Sealed { /// Creates a new `ExitCode` from the raw underlying `u32` return value of /// a process. @@ -207,11 +207,11 @@ pub trait ExitCodeExt: Sealed { /// The exit code should not be 259, as this conflicts with the `STILL_ACTIVE` /// macro returned from the `GetExitCodeProcess` function to signal that the /// process has yet to run to completion. - #[stable(feature = "windows_process_exit_code_from", since = "1.63.0")] + #[unstable(feature = "windows_process_exit_code_from", issue = "none")] fn from_raw(raw: u32) -> Self; } -#[stable(feature = "windows_process_exit_code_from", since = "1.63.0")] +#[unstable(feature = "windows_process_exit_code_from", issue = "none")] impl ExitCodeExt for process::ExitCode { fn from_raw(raw: u32) -> Self { process::ExitCode::from_inner(From::from(raw)) |
