Skip to content

Commit

Permalink
Fix Clippy warn
Browse files Browse the repository at this point in the history
  • Loading branch information
Keavon committed Oct 16, 2024
1 parent c6e5f38 commit 77f3c43
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion node-graph/gcore/src/vector/vector_nodes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ async fn assign_colors<F: 'n + Send, T: VectorIterMut>(

/// 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 {
Expand Down

0 comments on commit 77f3c43

Please sign in to comment.