Skip to content

Commit

Permalink
fix clippy::unused_unit in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hellow554 committed Jun 3, 2022
1 parent 500cf14 commit 594a4a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_std.rs
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ impl<T: Clone + Send, R: Clone + Rng + SeedableRng + Send> qc::Arbitrary for Ran

// Check that taking the k smallest is the same as
// sorting then taking the k first elements
fn k_smallest_sort<I>(i: I, k: u16) -> ()
fn k_smallest_sort<I>(i: I, k: u16)
where
I: Iterator + Clone,
I::Item: Ord + Debug,
Expand Down

0 comments on commit 594a4a3

Please sign in to comment.