Skip to content

Commit

Permalink
remove extra print () (#90)
Browse files Browse the repository at this point in the history
remove extra print
  • Loading branch information
ameknite authored Mar 10, 2024
1 parent 559049d commit 8f6f9ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rgh/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ fn hash_file(alg: Algorithm, input: &str, option: OutputOptions) {
let alg_s = format!("{:?}", alg).to_uppercase();
let result = RHash::new(&alg_s).process_file(input, option);
match result {
Ok(r) => println!("{:?}", r),
Ok(_) => {},
Err(e) => {
eprintln!("Error: {}", e);
std::process::exit(1);
Expand Down

0 comments on commit 8f6f9ca

Please sign in to comment.