RosettaCodeData/Task/Program-termination/Rust/program-termination-2.rust
2016-12-05 22:15:40 +01:00

5 lines
90 B
Text

fn main() {
if problem {
std::process::exit(1); // 1 is the exit code
}
}