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 authored and phimuemue committed Jun 7, 2022
1 parent 2e6cf7f commit 5b3b648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_std.rs
Expand Up @@ -474,7 +474,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 5b3b648

Please sign in to comment.