some lints

This commit is contained in:
Alex Janka 2023-10-05 17:24:14 +11:00
parent ebc84e24d7
commit 55f4333415
3 changed files with 1 additions and 3 deletions

View file

@ -102,7 +102,6 @@ pub enum ResolutionOverride {
Default, Default,
} }
#[allow(clippy::derivable_impls)]
impl Default for Config { impl Default for Config {
fn default() -> Self { fn default() -> Self {
Self { Self {
@ -115,7 +114,6 @@ impl Default for Config {
} }
} }
#[allow(clippy::derivable_impls)]
impl Default for VulkanRendererConfig { impl Default for VulkanRendererConfig {
fn default() -> Self { fn default() -> Self {
Self { Self {

View file

@ -10,6 +10,7 @@ use crate::connect::ResolutionData;
pub struct RendererBackendManager {} pub struct RendererBackendManager {}
impl RendererBackendManager { impl RendererBackendManager {
#[allow(clippy::new_without_default)]
pub fn new() -> Self { pub fn new() -> Self {
Self {} Self {}
} }

View file

@ -24,7 +24,6 @@ pub(super) unsafe fn record_submit_commandbuffer<F: FnOnce(&Device, vk::CommandB
); );
} }
#[allow(clippy::too_many_arguments)]
pub(super) unsafe fn begin_commandbuffer( pub(super) unsafe fn begin_commandbuffer(
device: &Device, device: &Device,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,