Skip to content

Commit

Permalink
rcb: fix clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
hhirtz committed Jun 7, 2022
1 parent 1fde935 commit b6b1c43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/algorithms/recursive_bisection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ mod tests {
fn test_reorder_split() {
const SLICE: [usize; 6] = [6, 0, 3, 4, 5, 2];
for index in SLICE {
let mut slice = SLICE.clone();
let mut slice = SLICE;
let (left, right) = reorder_split(&mut slice, index, usize::cmp);
assert_eq!(left.len(), index);
assert_eq!(right.len(), SLICE.len() - index);
Expand Down

0 comments on commit b6b1c43

Please sign in to comment.