From 77f3c435167b7ace50ea0c22b3ab1bb84f2b2781 Mon Sep 17 00:00:00 2001 From: Keavon Chambers Date: Wed, 16 Oct 2024 13:42:42 -0700 Subject: [PATCH] Fix Clippy warn --- node-graph/gcore/src/vector/vector_nodes.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/node-graph/gcore/src/vector/vector_nodes.rs b/node-graph/gcore/src/vector/vector_nodes.rs index 7131d43a24..e4b1c3d9ef 100644 --- a/node-graph/gcore/src/vector/vector_nodes.rs +++ b/node-graph/gcore/src/vector/vector_nodes.rs @@ -83,7 +83,9 @@ async fn assign_colors( /// A trait to allow the application of the path style (which allows the fill and stroke node to support either GraphicGroup or VectorData) pub trait ApplyStyle { - fn apply(&mut self, modify_fn: impl FnMut(&mut crate::vector::PathStyle, DAffine2)) {} + fn apply(&mut self, modify_fn: impl FnMut(&mut crate::vector::PathStyle, DAffine2)) { + let _ = modify_fn; + } } impl ApplyStyle for VectorData {