refactor: fix clippy let-and-return error in linting

This commit is contained in:
Ritam Mukherjee 2024-05-22 22:33:16 +05:30
parent 3de59fcc49
commit 23f2247b72

View File

@ -54,8 +54,7 @@ impl DownloadCache {
/// Gets the value stored on the state
pub fn get(&self) -> Vec<String> {
let state_value = self.state.load();
state_value
self.state.load()
}
/// Gets the download cache path. Names of cache entries can be formed by