Put some thought and documentation effort into process::ExitCode
This commit is contained in:
parent
e20f7b2ea7
commit
fc2e4e7833
2 changed files with 53 additions and 25 deletions
|
|
@ -14,5 +14,5 @@
|
|||
use std::process::ExitCode;
|
||||
|
||||
fn main() -> ExitCode {
|
||||
ExitCode(0)
|
||||
ExitCode::SUCCESS
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue