Fix Clippy lints.

This commit is contained in:
Robin KAY 2022-08-05 09:38:50 +01:00
parent 2aa76309dd
commit 2832f3047f
2 changed files with 2 additions and 1 deletions

View File

@ -118,6 +118,7 @@ impl CachedRenderPipelinePhaseItem for TransparentOutline {
}
}
#[allow(clippy::type_complexity)]
pub struct OutlineNode {
query: QueryState<
(

View File

@ -147,7 +147,7 @@ impl SpecializedMeshPipeline for OutlinePipeline {
buffers,
},
fragment: Some(FragmentState {
shader: shader.clone().typed::<Shader>(),
shader: shader.typed::<Shader>(),
shader_defs: vec![],
entry_point: "fragment".into(),
targets,