diff --git a/src/macos/window/mod.rs b/src/macos/window/mod.rs index 85cd03a..fb40f9f 100644 --- a/src/macos/window/mod.rs +++ b/src/macos/window/mod.rs @@ -475,7 +475,7 @@ impl Window { F: Fn() + Send + Sync + 'static, W: WindowDelegate + 'static { - let block = ConcreteBlock::new(move |response: NSInteger| { + let block = ConcreteBlock::new(move |_response: NSInteger| { completion(); }); let block = block.copy();