mirror of
https://github.com/RGBCube/dix
synced 2025-07-28 12:17:45 +00:00
chore: cleanup main.rs
This commit is contained in:
parent
1a385d0da3
commit
63cf04b29f
1 changed files with 2 additions and 2 deletions
|
@ -142,7 +142,7 @@ impl AppError {
|
||||||
type Result<T> = std::result::Result<T, AppError>;
|
type Result<T> = std::result::Result<T, AppError>;
|
||||||
|
|
||||||
#[derive(Parser, Debug)]
|
#[derive(Parser, Debug)]
|
||||||
#[command(name = "Nix not Python diff tool")]
|
#[command(name = "nix-diff")]
|
||||||
#[command(version = "1.0")]
|
#[command(version = "1.0")]
|
||||||
#[command(about = "Diff two different system closures", long_about = None)]
|
#[command(about = "Diff two different system closures", long_about = None)]
|
||||||
#[command(version, about, long_about = None)]
|
#[command(version, about, long_about = None)]
|
||||||
|
@ -328,7 +328,7 @@ fn main() {
|
||||||
println!("Difference between the two generations:");
|
println!("Difference between the two generations:");
|
||||||
println!();
|
println!();
|
||||||
|
|
||||||
let mut width_changes = changed
|
let width_changes = changed
|
||||||
.iter()
|
.iter()
|
||||||
.filter(|&&p| match (pre.get(p), post.get(p)) {
|
.filter(|&&p| match (pre.get(p), post.get(p)) {
|
||||||
(Some(version_pre), Some(version_post)) => version_pre != version_post,
|
(Some(version_pre), Some(version_post)) => version_pre != version_post,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue