diff --git a/tests/test_std.rs b/tests/test_std.rs index 4eeb843fa..f59034234 100644 --- a/tests/test_std.rs +++ b/tests/test_std.rs @@ -472,7 +472,7 @@ impl 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, k: u16) -> () +fn k_smallest_sort(i: I, k: u16) where I: Iterator + Clone, I::Item: Ord + Debug,