main: allow clippy::needless_borrow since it isn't needless for web

This commit is contained in:
ice_iix 2021-08-01 06:25:57 -07:00
parent 3d1bea85fe
commit 47df12b5ee
1 changed files with 2 additions and 1 deletions

View File

@ -509,7 +509,8 @@ fn main2() {
glutin_window.resize(physical_size);
}
if !handle_window_event(winit_window, &mut game, &mut ui_container, event) {
#[allow(clippy::needless_borrow)] // needless for native, not for web
if !handle_window_event(&winit_window, &mut game, &mut ui_container, event) {
return;
}