From d4e49815052a24e050aaf5a59214bab18bf1ede1 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Tue, 27 Dec 2016 19:01:15 +0100 Subject: call ::std::process::exit() directly --- src/bin/mt-tool.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/bin/mt-tool.rs') 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) { @@ -97,7 +96,7 @@ fn main() { _ => { println!("Missing or unimplemented command!"); println!("{}", matches.usage()); - exit(-1); + ::std::process::exit(-1); }, } } -- cgit v1.2.3