chore: clippy

This commit is contained in:
Vukašin Vojinović 2025-10-27 13:05:21 +01:00 committed by Jeremy Soller
parent a7f8a62807
commit 7bab53c5b4
5 changed files with 79 additions and 101 deletions

View file

@ -45,7 +45,7 @@ impl UserData {
//TODO: do not reread duplicate paths, cache data by path?
BgSource::Path(path) => {
if !self.bg_path_data.contains_key(path) {
match fs::read(&path) {
match fs::read(path) {
Ok(bytes) => {
self.bg_path_data.insert(path.clone(), bytes);
}