Skip to content

Commit 594a4a3

Browse files
committed
fix clippy::unused_unit in tests
1 parent 500cf14 commit 594a4a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_std.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ impl<T: Clone + Send, R: Clone + Rng + SeedableRng + Send> qc::Arbitrary for Ran
472472

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

0 commit comments

Comments
 (0)