1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-29 04:40:03 -04:00

Fix a few nightly clippy lints (#8388)

This commit is contained in:
Emil Ernerfeldt
2026-08-04 12:40:56 -07:00
committed by GitHub
parent 5347b0a4ac
commit 90e03028f7
6 changed files with 17 additions and 13 deletions

View File

@@ -143,9 +143,7 @@ impl View for MiscDemoWindow {
)
.changed()
{
for check in &mut self.checklist {
*check = all_checked;
}
self.checklist.fill(all_checked);
}
for (i, checked) in self.checklist.iter_mut().enumerate() {
ui.checkbox(checked, format!("Item {}", i + 1));