RosettaCodeData/Task/Program-termination/Rust/program-termination-2.rs
2024-10-16 18:07:41 -07:00

5 lines
90 B
Rust

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