Tell clippy to go learn the borrow rules

This commit is contained in:
Héctor Ramón Jiménez 2023-03-07 06:34:27 +01:00
parent 0850f52d8c
commit 24c3d20a76
No known key found for this signature in database
GPG key ID: 140CC052C94F138E

View file

@ -109,6 +109,7 @@ impl Cache {
let id = handle.id();
#[allow(clippy::map_entry)]
if !self.rasters.contains_key(&(id, size)) {
let tree = self.load(handle)?;