remove the clone trait implementation from macoswindowfeature and menu structs

This commit is contained in:
Alexsander Falcucci 2025-11-20 13:57:35 +01:00
parent 4076545f7b
commit e4f90c8dbb
No known key found for this signature in database
GPG key ID: E2BCBE04A869DDF8

View file

@ -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>,
}