diff options
author | bnewbold <bnewbold@robocracy.org> | 2016-12-27 19:01:15 +0100 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2016-12-27 19:01:15 +0100 |
commit | d4e49815052a24e050aaf5a59214bab18bf1ede1 (patch) | |
tree | e3fdddce2dba7e0e2ec9f03f4f96e7050bab1d17 /src/bin/mt-tool.rs | |
parent | f97396ea89704ff2ccab28d7b27ceeeb3201ddd0 (diff) | |
download | modelthing-d4e49815052a24e050aaf5a59214bab18bf1ede1.tar.gz modelthing-d4e49815052a24e050aaf5a59214bab18bf1ede1.zip |
call ::std::process::exit() directly
Diffstat (limited to 'src/bin/mt-tool.rs')
-rw-r--r-- | src/bin/mt-tool.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bin/mt-tool.rs b/src/bin/mt-tool.rs index b6763b2..c04d5ab 100644 --- a/src/bin/mt-tool.rs +++ b/src/bin/mt-tool.rs @@ -12,7 +12,6 @@ use std::io::Read; use std::fs::File; use std::path::Path; use std::time::Instant; -use std::process::exit; fn parse_modelica_files(paths: Vec<String>) { @@ -97,7 +96,7 @@ fn main() { _ => { println!("Missing or unimplemented command!"); println!("{}", matches.usage()); - exit(-1); + ::std::process::exit(-1); }, } } |