From 53f1fb395f33e0fb8db9aebd09ea9082f650f9f1 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 28 Jun 2026 17:45:06 +0900 Subject: refactor: add linter --- crates/shirabe-semver/src/constraint/bound.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'crates/shirabe-semver/src/constraint/bound.rs') 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); -- cgit v1.3.1