From 2832f3047ffcc819cea72a05cd072a21fbbdf12c Mon Sep 17 00:00:00 2001 From: Robin KAY Date: Fri, 5 Aug 2022 09:38:50 +0100 Subject: [PATCH] Fix Clippy lints. --- src/node.rs | 1 + src/pipeline.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/node.rs b/src/node.rs index a123235..4fda3bd 100644 --- a/src/node.rs +++ b/src/node.rs @@ -118,6 +118,7 @@ impl CachedRenderPipelinePhaseItem for TransparentOutline { } } +#[allow(clippy::type_complexity)] pub struct OutlineNode { query: QueryState< ( diff --git a/src/pipeline.rs b/src/pipeline.rs index 211e42c..2ca7eca 100644 --- a/src/pipeline.rs +++ b/src/pipeline.rs @@ -147,7 +147,7 @@ impl SpecializedMeshPipeline for OutlinePipeline { buffers, }, fragment: Some(FragmentState { - shader: shader.clone().typed::(), + shader: shader.typed::(), shader_defs: vec![], entry_point: "fragment".into(), targets,