Skip to content

Commit cb4a1da

Browse files
committed
fix clippy
1 parent 5406e86 commit cb4a1da

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

datafusion/physical-expr/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ datafusion-expr = { workspace = true }
4848
datafusion-expr-common = { workspace = true }
4949
datafusion-functions-aggregate-common = { workspace = true }
5050
datafusion-physical-expr-common = { workspace = true }
51-
half = { workspace = true }
5251
hashbrown = { workspace = true }
5352
indexmap = { workspace = true }
5453
itertools = { workspace = true, features = ["use_std"] }

datafusion/physical-optimizer/src/reverse_order.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -714,8 +714,7 @@ mod tests {
714714
let sort_count = count_sorts_in_plan(&result);
715715
assert!(
716716
sort_count < 2,
717-
"Expected at least one sort to be removed from nested sorts, found {} sorts",
718-
sort_count
717+
"Expected at least one sort to be removed from nested sorts, found {sort_count} sorts"
719718
);
720719

721720
Ok(())
@@ -759,7 +758,7 @@ mod tests {
759758
count += 1;
760759
}
761760
for child in plan.children() {
762-
count += count_sorts_in_plan(&child);
761+
count += count_sorts_in_plan(child);
763762
}
764763
count
765764
}

0 commit comments

Comments
 (0)