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:
@@ -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);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user