1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 22:53:14 -04:00

Fix some clippy warning from Rust 1.78.0 (#4444)

This commit is contained in:
Emil Ernerfeldt
2024-05-02 17:04:25 +02:00
committed by GitHub
parent c9b24d5a5c
commit ded8dbd45b
21 changed files with 37 additions and 72 deletions

View File

@@ -78,7 +78,7 @@ impl eframe::App for MyApp {
// Collect dropped files:
ctx.input(|i| {
if !i.raw.dropped_files.is_empty() {
self.dropped_files = i.raw.dropped_files.clone();
self.dropped_files.clone_from(&i.raw.dropped_files);
}
});
}