From 594a4a3fbe28b9e3b3f1e6f9b0aae0ed177d83fa Mon Sep 17 00:00:00 2001 From: Marcel Hellwig Date: Fri, 3 Jun 2022 09:40:18 +0200 Subject: [PATCH] fix clippy::unused_unit in tests --- tests/test_std.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,