Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
willcrozi committed Sep 24, 2022
1 parent 5475859 commit 7ffb3c6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/clones.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,11 @@ fn clone_adaptors() {
check(v.par_iter().with_max_len(1).fold(|| 0, |x, _| x));
check(v.par_iter().with_max_len(1).fold_with(0, |x, _| x));
check(v.par_iter().with_max_len(1).fold_chunks(1, || 0, |x, _| x));
check(v.par_iter().with_max_len(1).fold_chunks_with(1, 0, |x, _| x));
check(
v.par_iter()
.with_max_len(1)
.fold_chunks_with(1, 0, |x, _| x),
);
check(v.par_iter().with_max_len(1).try_fold(|| 0, |_, &x| x));
check(v.par_iter().with_max_len(1).try_fold_with(0, |_, &x| x));
check(v.par_iter().inspect(|_| ()));
Expand Down

0 comments on commit 7ffb3c6

Please sign in to comment.