Skip to content

Commit 28236b0

Browse files
committed
fix clippy::let_and_return in tests
1 parent 4d47bae commit 28236b0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/quick.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -943,8 +943,7 @@ quickcheck! {
943943
fn fuzz_group_by_lazy_1(it: Iter<u8>) -> bool {
944944
let jt = it.clone();
945945
let groups = it.group_by(|k| *k);
946-
let res = itertools::equal(jt, groups.into_iter().flat_map(|(_, x)| x));
947-
res
946+
itertools::equal(jt, groups.into_iter().flat_map(|(_, x)| x))
948947
}
949948
}
950949

0 commit comments

Comments
 (0)