mirror of https://github.com/emilk/egui.git
Browse Source
* egui-winit: fix unsafe API of Clipboard::new The old API allowed passing an arbitrary pointer. The new API still breaks safety by allowing the object to outlive the input, but is at least safer. * Update crates/egui-winit/src/clipboard.rs Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com> * Fix typo * Update crates/egui-winit/src/clipboard.rs Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com> * cargo fmt * egui-winit: fix init_smithay_clipboard --------- Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>pull/2860/head
Diggory Hardy
2 years ago
committed by
GitHub
3 changed files with 36 additions and 42 deletions
Loading…
Reference in new issue