Tell clippy to go learn the borrow rules
This commit is contained in:
parent
0850f52d8c
commit
24c3d20a76
1 changed files with 1 additions and 0 deletions
|
|
@ -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)?;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue