Skip to content

Commit

Permalink
Run cargo fmt to fix the CI error
Browse files Browse the repository at this point in the history
  • Loading branch information
Owen-CH-Leung committed Sep 28, 2023
1 parent 7e6e01a commit 16c0cb6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion benches/bench1.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use criterion::{black_box, criterion_group, criterion_main, Criterion};
use itertools::free::cloned;
use itertools::{EitherOrBoth, iproduct};
use itertools::Itertools;
use itertools::{iproduct, EitherOrBoth};

use std::cmp;
use std::iter::repeat;
Expand Down
3 changes: 2 additions & 1 deletion src/zip_longest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ where
#[inline]
fn fold<B, F>(self, mut acc: B, mut f: F) -> B
where
Self: Sized, F: FnMut(B, Self::Item) -> B
Self: Sized,
F: FnMut(B, Self::Item) -> B,
{
let ZipLongest { mut a, mut b } = self;

Expand Down

0 comments on commit 16c0cb6

Please sign in to comment.