summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/main.rs b/src/main.rs
index 4f9ce07..8432184 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -19,13 +19,12 @@ mod util;
fn main() {
match cmd::run() {
- Ok(_) => {},
+ Ok(_) => {}
Err(e) => {
- let name = util::program_name()
- .unwrap_or_else(|e| {
- eprintln!("{}", e);
- "?".to_string()
- });
+ let name = util::program_name().unwrap_or_else(|e| {
+ eprintln!("{}", e);
+ "?".to_string()
+ });
let cause = e
.iter_chain()
.fold(String::new(), |acc, x| acc + ": " + &format!("{}", x));