diff options
Diffstat (limited to 'src/cache.rs')
-rw-r--r-- | src/cache.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cache.rs b/src/cache.rs index 8df4d2f..ef096f7 100644 --- a/src/cache.rs +++ b/src/cache.rs | |||
@@ -8,7 +8,7 @@ use std::{ | |||
8 | /// # Panics | 8 | /// # Panics |
9 | /// | 9 | /// |
10 | /// Panics if . | 10 | /// Panics if . |
11 | pub fn get_cached_versions(path: &str) -> HashMap<String, String> { | 11 | #[must_use] pub fn get_cached_versions(path: &str) -> HashMap<String, String> { |
12 | let mut versions: HashMap<String, String> = HashMap::new(); | 12 | let mut versions: HashMap<String, String> = HashMap::new(); |
13 | for file in read_dir(path).unwrap() { | 13 | for file in read_dir(path).unwrap() { |
14 | let path = file.unwrap().path(); | 14 | let path = file.unwrap().path(); |