fix clippy warnings

This commit is contained in:
Tom A. Wagner
2023-08-01 09:13:16 +02:00
parent 7a9bc84b8b
commit a9ad1cccf0
6 changed files with 13 additions and 7 deletions

View File

@@ -151,7 +151,7 @@ mod imp {
fn update_zoom_factor_text(&self, zoom_factor: f64) {
self.entry
.buffer()
.set_text(&format!("{factor:.0}%", factor = zoom_factor * 100.));
.set_text(format!("{factor:.0}%", factor = zoom_factor * 100.));
}
}
}