From 5e0389f3d33709162d63b2baf082bc22e14836ec Mon Sep 17 00:00:00 2001 From: Kevin Swiber Date: Mon, 2 Oct 2023 15:57:32 -0700 Subject: [PATCH] Some minor test fixes. --- src/lib.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index a8238fb..b6b8099 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1456,11 +1456,9 @@ mod tests { None } }) - .collect::>() - .into_iter() - .collect::>(); + .collect::>(); - assert!(duplicates.is_empty(), "duplicates: {:#?}", duplicates); + assert!(duplicates.is_empty(), "duplicates: {duplicates:?}"); } } }