From 748e741f740ac46ec40e42679aba3b07927709c0 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 17 May 2026 15:08:03 +0900 Subject: chore: cargo clippy --fix --- crates/shirabe-semver/src/constraint/match_all_constraint.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'crates/shirabe-semver/src/constraint/match_all_constraint.rs') diff --git a/crates/shirabe-semver/src/constraint/match_all_constraint.rs b/crates/shirabe-semver/src/constraint/match_all_constraint.rs index b6b2445..97ce98c 100644 --- a/crates/shirabe-semver/src/constraint/match_all_constraint.rs +++ b/crates/shirabe-semver/src/constraint/match_all_constraint.rs @@ -22,10 +22,10 @@ impl ConstraintInterface for MatchAllConstraint { } fn get_pretty_string(&self) -> String { - if let Some(ref s) = self.pretty_string { - if !s.is_empty() { - return s.clone(); - } + if let Some(ref s) = self.pretty_string + && !s.is_empty() + { + return s.clone(); } self.__to_string() } -- cgit v1.3.1