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

lint: fix lints appearing in rust stable currently (#7118)

* [x] I have followed the instructions in the PR template
This commit is contained in:
Nicolas
2025-06-11 17:38:06 +02:00
committed by GitHub
parent cfb10a04f5
commit 9f9153805d
9 changed files with 26 additions and 26 deletions

View File

@@ -58,7 +58,7 @@ impl crate::View for Screenshot {
None
}
})
.last()
.next_back()
});
if let Some(image) = image {

View File

@@ -110,7 +110,7 @@ impl crate::View for GridTest {
ui.end_row();
let mut dyn_text = String::from("O");
dyn_text.extend(std::iter::repeat('h').take(self.text_length));
dyn_text.extend(std::iter::repeat_n('h', self.text_length));
ui.label(dyn_text);
ui.label("Fifth row, second column");
ui.end_row();