Skip to content

Commit

Permalink
chore: remove unneeded conditional and make a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedld committed Mar 7, 2025
1 parent 843e1f8 commit efb2bd2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ fn pushdown_sorts_helper(
// recursive call to helper, so it doesn't transform_down and miss the new node (previous child of sort)
return pushdown_sorts_helper(sort_push_down);
}
} else if satisfy_parent && parent_reqs.is_empty() {
} else if parent_reqs.is_empty() {
// note: this `satisfy_parent`, but we don't want to push down anything.
// Nothing to do.
return Ok(Transformed::no(sort_push_down));
} else if satisfy_parent {
Expand Down

0 comments on commit efb2bd2

Please sign in to comment.