aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-semver/src/compiling_matcher.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe-semver/src/compiling_matcher.rs')
-rw-r--r--crates/shirabe-semver/src/compiling_matcher.rs8
1 files changed, 3 insertions, 5 deletions
diff --git a/crates/shirabe-semver/src/compiling_matcher.rs b/crates/shirabe-semver/src/compiling_matcher.rs
index 1d980e7..142fd0d 100644
--- a/crates/shirabe-semver/src/compiling_matcher.rs
+++ b/crates/shirabe-semver/src/compiling_matcher.rs
@@ -1,12 +1,10 @@
//! ref: composer/vendor/composer/semver/src/CompilingMatcher.php
-use std::sync::Mutex;
-use std::sync::OnceLock;
-
-use indexmap::IndexMap;
-
use crate::constraint::AnyConstraint;
use crate::constraint::SimpleConstraint;
+use indexmap::IndexMap;
+use std::sync::Mutex;
+use std::sync::OnceLock;
static COMPILED_CHECKER_CACHE: OnceLock<
Mutex<IndexMap<String, Box<dyn Fn(String, bool) -> bool + Send + Sync>>>,