clippy warning

This commit is contained in:
Greg Johnston 2023-01-16 20:08:27 -05:00
parent 81bdd6788f
commit e416815591
1 changed files with 1 additions and 1 deletions

View File

@ -548,7 +548,7 @@ impl View {
pub fn on<E: ev::EventDescriptor + 'static>(
self,
event: E,
mut event_handler: impl FnMut(E::EventType) + 'static,
#[allow(unused_mut)] mut event_handler: impl FnMut(E::EventType) + 'static,
) -> Self {
cfg_if::cfg_if! {
if #[cfg(debug_assertions)] {