Fix the remaining clippy warnings across the workspace

This commit is contained in:
Dennis Kobert
2026-09-16 01:15:16 +02:00
parent 45d6f1bd39
commit 9bfbc20d87
4 changed files with 7 additions and 8 deletions
@@ -645,7 +645,7 @@ impl<'a> ModifyInputsContext<'a> {
.nodes
.get(&node_id)
.and_then(|node| node.input(graphene_std::math_nodes::gradient_positions::PositionsInput));
if !current_input.is_some_and(|input| input.as_value().is_some()) {
if current_input.is_none_or(|input| input.as_value().is_none()) {
return;
}
@@ -669,7 +669,7 @@ impl<'a> ModifyInputsContext<'a> {
.nodes
.get(&node_id)
.and_then(|node| node.input(graphene_std::math_nodes::gradient_midpoints::MidpointsInput));
if !current_input.is_some_and(|input| input.as_value().is_some()) {
if current_input.is_none_or(|input| input.as_value().is_none()) {
return;
}