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:
@@ -58,7 +58,7 @@ impl crate::View for Screenshot {
|
||||
None
|
||||
}
|
||||
})
|
||||
.last()
|
||||
.next_back()
|
||||
});
|
||||
|
||||
if let Some(image) = image {
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user