mirror of
https://github.com/fosskers/cargo-aur.git
synced 2026-03-09 07:13:12 -05:00
Minor lint
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,3 +1,4 @@
|
||||
/target
|
||||
deps.png
|
||||
pkg/
|
||||
Cargo.lock
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user