From e8fe3d4b95833efc383eef4e10fb177ae4de2e36 Mon Sep 17 00:00:00 2001 From: Robin KAY Date: Fri, 16 Feb 2024 00:35:59 +0000 Subject: [PATCH] Fix Clippy lints. --- src/node.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/node.rs b/src/node.rs index b952653..1487ae9 100644 --- a/src/node.rs +++ b/src/node.rs @@ -217,7 +217,7 @@ impl Node for OutlineNode { label: Some("outline_stencil_pass"), color_attachments: &[], depth_stencil_attachment: Some(RenderPassDepthStencilAttachment { - view: &depth.view(), + view: depth.view(), depth_ops: Some(Operations { load: camera_3d.depth_load_op.clone().into(), store: StoreOp::Store, @@ -239,7 +239,7 @@ impl Node for OutlineNode { label: Some("outline_opaque_pass"), color_attachments: &[Some(target.get_color_attachment())], depth_stencil_attachment: Some(RenderPassDepthStencilAttachment { - view: &depth.view(), + view: depth.view(), depth_ops: Some(Operations { load: LoadOp::Load, store: StoreOp::Store, @@ -261,7 +261,7 @@ impl Node for OutlineNode { label: Some("outline_transparent_pass"), color_attachments: &[Some(target.get_color_attachment())], depth_stencil_attachment: Some(RenderPassDepthStencilAttachment { - view: &depth.view(), + view: depth.view(), depth_ops: Some(Operations { load: LoadOp::Load, store: StoreOp::Store,