aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-semver/src/constraint/bound.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe-semver/src/constraint/bound.rs')
-rw-r--r--crates/shirabe-semver/src/constraint/bound.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/crates/shirabe-semver/src/constraint/bound.rs b/crates/shirabe-semver/src/constraint/bound.rs
index 8e45023..2590424 100644
--- a/crates/shirabe-semver/src/constraint/bound.rs
+++ b/crates/shirabe-semver/src/constraint/bound.rs
@@ -2,8 +2,6 @@
use anyhow::bail;
-use shirabe_php_shim as php;
-
#[derive(Debug, Clone, PartialEq)]
pub struct Bound {
version: String,
@@ -43,7 +41,8 @@ impl Bound {
return Ok(false);
}
- let compare_result = php::version_compare_2(self.get_version(), other.get_version());
+ let compare_result =
+ shirabe_php_shim::version_compare_2(self.get_version(), other.get_version());
if compare_result != 0 {
return Ok((if operator == ">" { 1 } else { -1 }) == compare_result);