From 430f59c1938b9e5da381365172ab788b54895ffc Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 14 Jun 2026 14:13:00 +0900 Subject: refactor: auto-fix clippy warnings --- .../src/symfony/console/formatter/output_formatter_style.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'crates/shirabe-external-packages/src/symfony/console/formatter') diff --git a/crates/shirabe-external-packages/src/symfony/console/formatter/output_formatter_style.rs b/crates/shirabe-external-packages/src/symfony/console/formatter/output_formatter_style.rs index 14626ca..39d694d 100644 --- a/crates/shirabe-external-packages/src/symfony/console/formatter/output_formatter_style.rs +++ b/crates/shirabe-external-packages/src/symfony/console/formatter/output_formatter_style.rs @@ -87,10 +87,10 @@ impl OutputFormatterStyleInterface for OutputFormatterStyle { ); } - if let Some(href) = &self.href { - if self.handles_href_gracefully == Some(true) { - text = format!("\x1b]8;;{href}\x1b\\{text}\x1b]8;;\x1b\\"); - } + if let Some(href) = &self.href + && self.handles_href_gracefully == Some(true) + { + text = format!("\x1b]8;;{href}\x1b\\{text}\x1b]8;;\x1b\\"); } self.color.apply(&text) -- cgit v1.3.1