mirror of
https://github.com/neovide/neovide.git
synced 2026-09-10 07:16:25 -04:00
remove the clone trait implementation from macoswindowfeature and menu structs
This commit is contained in:
parent
4076545f7b
commit
e4f90c8dbb
|
|
@ -100,7 +100,7 @@ fn load_neovide_icon(custom_icon_path: Option<&String>) -> Option<Retained<NSIma
|
|||
.or_else(load_icon_from_default_bytes)
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
#[derive(Debug)]
|
||||
pub struct MacosWindowFeature {
|
||||
ns_window: Retained<NSWindow>,
|
||||
system_titlebar_height: f64,
|
||||
|
|
@ -394,7 +394,7 @@ impl QuitHandler {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
#[derive(Debug)]
|
||||
struct Menu {
|
||||
quit_handler: Retained<QuitHandler>,
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue