From 3489998c673544028cf5691fc9da7e92cc8085e8 Mon Sep 17 00:00:00 2001 From: David Peter Date: Sun, 11 Jul 2021 20:00:06 +0200 Subject: [PATCH] cargo fmt --- src/bin/hexyl.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/hexyl.rs b/src/bin/hexyl.rs index 5fe9797..f666bd8 100644 --- a/src/bin/hexyl.rs +++ b/src/bin/hexyl.rs @@ -250,13 +250,13 @@ fn main() { clap::ErrorKind::HelpDisplayed => { eprint!("{}", clap_err); // Clap errors already have newlines std::process::exit(0) - }, + } clap::ErrorKind::VersionDisplayed => { // Version output in clap 2.33.1 (dep as of now) doesn't have a newline // and the fix is not included even in the latest stable release println!(""); std::process::exit(0) - }, + } _ => (), } } else {