aboutsummaryrefslogtreecommitdiff
path: root/src/shared_cache.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared_cache.rs')
-rw-r--r--src/shared_cache.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/shared_cache.rs b/src/shared_cache.rs
index 4d6aec2..f7672f4 100644
--- a/src/shared_cache.rs
+++ b/src/shared_cache.rs
@@ -1,6 +1,5 @@
use std::{
collections::HashMap,
- sync::{Arc, Mutex},
time::{SystemTime, UNIX_EPOCH},
};
@@ -24,4 +23,4 @@ impl CacheEntry {
}
}
-pub type SharedCache = Arc<Mutex<HashMap<String, CacheEntry>>>;
+pub type Cache = HashMap<String, CacheEntry>;