some lints
This commit is contained in:
parent
ebc84e24d7
commit
55f4333415
3 changed files with 1 additions and 3 deletions
|
@ -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 {
|
||||||
|
|
|
@ -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 {}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Add table
Reference in a new issue