diff --git a/src/formatting/mod.rs b/src/formatting/mod.rs index 07d9ecc..1020a29 100644 --- a/src/formatting/mod.rs +++ b/src/formatting/mod.rs @@ -42,7 +42,7 @@ pub fn print_updates(updates: &[Update], icons: &bool) { _ => 0, }; let time_length = update.time.to_string().len(); - return ( + ( if reference_length > acc.0 { reference_length } else { @@ -58,7 +58,7 @@ pub fn print_updates(updates: &[Update], icons: &bool) { } else { acc.2 }, - ); + ) }); println!( " \x1b[90;1m╭{:─ { format!("({} → {})", info.current_version, info.new_version)