From 63cf04b29f7d9090c44f5c4e18b6cead5095dbf6 Mon Sep 17 00:00:00 2001 From: Bloxx12 Date: Mon, 5 May 2025 15:33:59 +0200 Subject: [PATCH] chore: cleanup main.rs --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 2343237..548df4e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -142,7 +142,7 @@ impl AppError { type Result = std::result::Result; #[derive(Parser, Debug)] -#[command(name = "Nix not Python diff tool")] +#[command(name = "nix-diff")] #[command(version = "1.0")] #[command(about = "Diff two different system closures", long_about = None)] #[command(version, about, long_about = None)] @@ -328,7 +328,7 @@ fn main() { println!("Difference between the two generations:"); println!(); - let mut width_changes = changed + let width_changes = changed .iter() .filter(|&&p| match (pre.get(p), post.get(p)) { (Some(version_pre), Some(version_post)) => version_pre != version_post,