diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-06-14 14:13:00 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-06-14 14:13:00 +0900 |
| commit | 430f59c1938b9e5da381365172ab788b54895ffc (patch) | |
| tree | 180ade07dadc7793a45839f42b5674d62bc5fc00 /crates/shirabe-semver/src | |
| parent | ba0a7f913b4b2a83d0c8862d657bdc867730a962 (diff) | |
| download | php-shirabe-430f59c1938b9e5da381365172ab788b54895ffc.tar.gz php-shirabe-430f59c1938b9e5da381365172ab788b54895ffc.tar.zst php-shirabe-430f59c1938b9e5da381365172ab788b54895ffc.zip | |
refactor: auto-fix clippy warnings
Diffstat (limited to 'crates/shirabe-semver/src')
| -rw-r--r-- | crates/shirabe-semver/src/compiling_matcher.rs | 2 |
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(); |
