Rollup merge of #97101 - coolreader18:exitcode-method-issue, r=yaahc

Add tracking issue for ExitCode::exit_process

r? `@yaahc`
This commit is contained in:
Dylan DPC 2022-05-18 08:41:17 +02:00 committed by GitHub
commit 2d95c6acab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1764,7 +1764,7 @@ impl ExitCode {
/// code.exit_process()
/// }
/// ```
#[unstable(feature = "exitcode_exit_method", issue = "none")]
#[unstable(feature = "exitcode_exit_method", issue = "97100")]
pub fn exit_process(self) -> ! {
exit(self.to_i32())
}