Minor lint

This commit is contained in:
Colin Woodbury
2020-06-15 10:13:55 -07:00
parent 46f14155f4
commit 0be17929dd
2 changed files with 4 additions and 6 deletions

1
.gitignore vendored
View File

@@ -1,3 +1,4 @@
/target
deps.png
pkg/
Cargo.lock

View File

@@ -43,12 +43,9 @@ impl fmt::Display for Error {
}
fn main() {
match work() {
Err(e) => {
eprintln!("{}", e);
process::exit(1)
}
Ok(_) => {}
if let Err(e) = work() {
eprintln!("{}", e);
process::exit(1)
}
}