From 3ac5e057505f775c791980803c11cb9a557180b5 Mon Sep 17 00:00:00 2001 From: Takumasa Sakao Date: Fri, 29 Nov 2024 08:32:02 +0900 Subject: [PATCH] Fix fmt --- src/app.rs | 3 ++- src/cli.rs | 5 +---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/app.rs b/src/app.rs index 7cf4edc..3afe0df 100644 --- a/src/app.rs +++ b/src/app.rs @@ -135,7 +135,8 @@ impl App { components.push(Box::new(FpsCounter::new())); } - let is_skip_empty_diffs = cli.is_skip_empty_diffs || config.general.skip_empty_diffs.unwrap_or_default(); + let is_skip_empty_diffs = + cli.is_skip_empty_diffs || config.general.skip_empty_diffs.unwrap_or_default(); let disable_mouse = cli.disable_mouse || config.general.disable_mouse.unwrap_or_default(); Ok(Self { diff --git a/src/cli.rs b/src/cli.rs index 48d9482..656a9f2 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -113,10 +113,7 @@ pub struct Cli { )] pub disable_auto_save: bool, - #[arg( - long = "disable_mouse", - help = "Stop handling mouse events", - )] + #[arg(long = "disable_mouse", help = "Stop handling mouse events")] pub disable_mouse: bool, #[arg(