diff options
author | Dmitry Moskowski <me@corpix.ru> | 2019-08-14 14:45:42 +0000 |
---|---|---|
committer | Dmitry Moskowski <me@corpix.ru> | 2019-08-14 14:45:42 +0000 |
commit | cac1b4ae35c0e76ae3bbe6a20f865f40cf86beca (patch) | |
tree | 50fe4df51b3c082e6470d7d16d70b5f9cf1c5c04 | |
parent | c3e84c87094550d8cdc6fc48b40a00712b2951cb (diff) |
removing redundant imports
rust 1.36.0: cargo build: error: the item `exit` is imported redundantly
-rw-r--r-- | svgbob_cli/src/main.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/svgbob_cli/src/main.rs b/svgbob_cli/src/main.rs index 004bb03..29c3a2b 100644 --- a/svgbob_cli/src/main.rs +++ b/svgbob_cli/src/main.rs @@ -83,7 +83,6 @@ fn main() { } Err(e) => { use std::io::Write; - use std::process::exit; writeln!( &mut std::io::stderr(), @@ -124,7 +123,6 @@ fn main() { if let Some(file) = args.value_of("output") { if let Err(e) = svg::save(file, &svg) { use std::io::Write; - use std::process::exit; writeln!( &mut std::io::stderr(), @@ -148,7 +146,6 @@ where Ok(a) => Some(a), Err(e) => { use std::io::Write; - use std::process::exit; writeln!( &mut std::io::stderr(), |