From e4916cafdf65d5d29ee77e9257c81274f93ead3b Mon Sep 17 00:00:00 2001 From: Alex Janka Date: Sun, 15 Oct 2023 11:54:58 +1100 Subject: [PATCH] lint updates --- gb-emu/src/window.rs | 2 +- lib/src/renderer/vulkan/vulkan.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/gb-emu/src/window.rs b/gb-emu/src/window.rs index f37cfec..d3944e6 100644 --- a/gb-emu/src/window.rs +++ b/gb-emu/src/window.rs @@ -273,7 +273,7 @@ struct RecordInfo { } impl WindowRenderer { - #[allow(clippy::too_many_arguments)] + #[allow(clippy::too_many_arguments, unused_variables)] pub fn new( factor: usize, gamepad_handler: Option, diff --git a/lib/src/renderer/vulkan/vulkan.rs b/lib/src/renderer/vulkan/vulkan.rs index 210ea47..9949a44 100644 --- a/lib/src/renderer/vulkan/vulkan.rs +++ b/lib/src/renderer/vulkan/vulkan.rs @@ -513,7 +513,6 @@ impl VulkanWindowInner { ); } - #[allow(unused_variables, clippy::needless_pass_by_ref_mut)] unsafe fn render( &mut self, filter_chain: &mut Option,