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,
}
#[allow(clippy::derivable_impls)]
impl Default for Config {
fn default() -> Self {
Self {
@ -115,7 +114,6 @@ impl Default for Config {
}
}
#[allow(clippy::derivable_impls)]
impl Default for VulkanRendererConfig {
fn default() -> Self {
Self {

View file

@ -10,6 +10,7 @@ use crate::connect::ResolutionData;
pub struct RendererBackendManager {}
impl RendererBackendManager {
#[allow(clippy::new_without_default)]
pub fn new() -> 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(
device: &Device,
command_buffer: vk::CommandBuffer,