summaryrefslogtreecommitdiff
path: root/src/cache.rs
diff options
context:
space:
mode:
authorfxqnlr <[email protected]>2024-09-04 09:56:42 +0200
committerfxqnlr <[email protected]>2024-09-04 09:56:42 +0200
commitf5e070cdf6628a5ebd981d373929802317104e24 (patch)
treee31c88371737e20b2cc79bf9ee0c1dbfdeb6e727 /src/cache.rs
parent1d64516ed95266a4fc1f8a18652f99158a4004f1 (diff)
downloadmodlist-f5e070cdf6628a5ebd981d373929802317104e24.tar
modlist-f5e070cdf6628a5ebd981d373929802317104e24.tar.gz
modlist-f5e070cdf6628a5ebd981d373929802317104e24.zip
clippy --fix
Diffstat (limited to 'src/cache.rs')
-rw-r--r--src/cache.rs2
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 .
11pub 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();