From a14b2bf9fa9799530d69cc22b26e911884e0419e Mon Sep 17 00:00:00 2001 From: Itay Tsabary Date: Sun, 15 Dec 2024 22:42:52 +0200 Subject: [PATCH] chore(consensus): fix clippy issue commit-id:ea878530 --- .../sequencing/papyrus_consensus/src/stream_handler_test.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/sequencing/papyrus_consensus/src/stream_handler_test.rs b/crates/sequencing/papyrus_consensus/src/stream_handler_test.rs index 047bf27142d..6e6e7204057 100644 --- a/crates/sequencing/papyrus_consensus/src/stream_handler_test.rs +++ b/crates/sequencing/papyrus_consensus/src/stream_handler_test.rs @@ -35,9 +35,9 @@ mod tests { } // Check if two vectors are the same, regardless of ordering - fn do_vecs_match_unordered(a: &[T], b: &[T]) -> bool + fn do_vecs_match_unordered(a: &[T], b: &[T]) -> bool where - T: std::hash::Hash + Eq, + T: std::hash::Hash + Eq + PartialEq + Ord + Clone, { let mut a = a.to_owned(); a.sort();