From 1f805843d60da3da8429229188b331ca54f385d8 Mon Sep 17 00:00:00 2001 From: Luke Hsiao Date: Fri, 19 Apr 2024 13:23:02 -0600 Subject: [PATCH] refactor: don't right-align "Total" The bold fontface seems sufficient to set it apart. The extra alignment feels noisy. --- src/main.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index fcd7b36..392140f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -174,7 +174,6 @@ fn main() -> Result<()> { table .with(Style::empty()) .modify(Columns::new(1..=5), Alignment::right()) - .modify(Rows::last(), Alignment::right()) .modify( Rows::first(), Format::content(|s| s.bold().underline().to_string()),