From f5e070cdf6628a5ebd981d373929802317104e24 Mon Sep 17 00:00:00 2001 From: fxqnlr Date: Wed, 4 Sep 2024 09:56:42 +0200 Subject: clippy --fix --- src/cache.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cache.rs') 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::{ /// # Panics /// /// Panics if . -pub fn get_cached_versions(path: &str) -> HashMap { +#[must_use] pub fn get_cached_versions(path: &str) -> HashMap { let mut versions: HashMap = HashMap::new(); for file in read_dir(path).unwrap() { let path = file.unwrap().path(); -- cgit v1.2.3