diff options
Diffstat (limited to 'crates/atuin-history')
| -rw-r--r-- | crates/atuin-history/Cargo.toml | 2 | ||||
| -rw-r--r-- | crates/atuin-history/src/stats.rs | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/crates/atuin-history/Cargo.toml b/crates/atuin-history/Cargo.toml index 06039c5a..2e5c4281 100644 --- a/crates/atuin-history/Cargo.toml +++ b/crates/atuin-history/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "atuin-history" description = "The history crate for Atuin" -edition = "2021" +edition = "2024" version = { workspace = true } authors.workspace = true diff --git a/crates/atuin-history/src/stats.rs b/crates/atuin-history/src/stats.rs index 310891e4..bbcf7f9b 100644 --- a/crates/atuin-history/src/stats.rs +++ b/crates/atuin-history/src/stats.rs @@ -178,7 +178,9 @@ pub fn pretty_print(stats: Stats, ngram_size: usize, theme: &Theme) { .collect::<Vec<_>>() .join(" | "); - println!("{ResetColor}] {gray}{count:num_pad$}{ResetColor} {bold}{formatted_command}{ResetColor}"); + println!( + "{ResetColor}] {gray}{count:num_pad$}{ResetColor} {bold}{formatted_command}{ResetColor}" + ); } println!("Total commands: {}", stats.total_commands); println!("Unique commands: {}", stats.unique_commands); |
