aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-semver
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-06-14 14:13:00 +0900
committernsfisis <nsfisis@gmail.com>2026-06-14 14:13:00 +0900
commit430f59c1938b9e5da381365172ab788b54895ffc (patch)
tree180ade07dadc7793a45839f42b5674d62bc5fc00 /crates/shirabe-semver
parentba0a7f913b4b2a83d0c8862d657bdc867730a962 (diff)
downloadphp-shirabe-430f59c1938b9e5da381365172ab788b54895ffc.tar.gz
php-shirabe-430f59c1938b9e5da381365172ab788b54895ffc.tar.zst
php-shirabe-430f59c1938b9e5da381365172ab788b54895ffc.zip
refactor: auto-fix clippy warnings
Diffstat (limited to 'crates/shirabe-semver')
-rw-r--r--crates/shirabe-semver/src/compiling_matcher.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/shirabe-semver/src/compiling_matcher.rs b/crates/shirabe-semver/src/compiling_matcher.rs
index d7e203e..1d980e7 100644
--- a/crates/shirabe-semver/src/compiling_matcher.rs
+++ b/crates/shirabe-semver/src/compiling_matcher.rs
@@ -42,7 +42,7 @@ impl CompilingMatcher {
}
pub fn r#match(constraint: &AnyConstraint, operator: i64, version: String) -> bool {
- let result_cache_key = format!("{}{};{}", operator, constraint.to_string(), version);
+ let result_cache_key = format!("{}{};{}", operator, constraint, version);
{
let cache = Self::result_cache().lock().unwrap();