Skip to content

Commit

Permalink
Small linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksongoode committed Jul 9, 2024
1 parent 846c5e1 commit 4ca368b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psst-gui/src/webapi/cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ impl WebApiCache {
self.key("images", &format!("{:016x}", hash))
.and_then(|path| std::fs::read(path).ok())
.and_then(|bytes| image::load_from_memory(&bytes).ok())
.map(|dynamic_image| ImageBuf::from_dynamic_image(dynamic_image))
.map(ImageBuf::from_dynamic_image)
}

pub fn save_image_to_disk(&self, uri: &Arc<str>, data: &[u8]) {
Expand Down

0 comments on commit 4ca368b

Please sign in to comment.