diff options
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(); |
