summaryrefslogtreecommitdiffstats
path: root/src/kitty/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/kitty/mod.rs')
-rw-r--r--src/kitty/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kitty/mod.rs b/src/kitty/mod.rs
index 8c5360a..68172e0 100644
--- a/src/kitty/mod.rs
+++ b/src/kitty/mod.rs
@@ -95,7 +95,7 @@ impl KittyManager {
kept_id: KittyImageId,
drawing_count: usize,
) {
- for image in self.rendered_images.iter_mut() {
+ for image in &mut self.rendered_images {
if image.image_id == kept_id {
image.drawing_count = drawing_count;
}