mirror of
https://github.com/tauri-apps/winit.git
synced 2026-02-04 02:11:19 +01:00
Cleanup
This commit is contained in:
@@ -37,7 +37,6 @@ pub struct MenuHandler {
|
||||
#[allow(non_snake_case)]
|
||||
impl MenuHandler {
|
||||
pub fn new(window: HWND, send_event: Box<dyn Fn(Event<'static, ()>)>) -> MenuHandler {
|
||||
let data = Box::new(MenuHandler { window, send_event });
|
||||
MenuHandler { window, send_event }
|
||||
}
|
||||
fn send_event(&self, event: Event<'static, ()>) {
|
||||
|
||||
Reference in New Issue
Block a user