From 7391742f9c1ec4568f23f21bd7797f7d93bf2174 Mon Sep 17 00:00:00 2001 From: Tomasz Kurcz Date: Wed, 20 Oct 2021 07:15:00 +0200 Subject: [PATCH] Lints --- packages/storage-plus/src/indexed_map.rs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/packages/storage-plus/src/indexed_map.rs b/packages/storage-plus/src/indexed_map.rs index 77e3865b5..a6d5d3b26 100644 --- a/packages/storage-plus/src/indexed_map.rs +++ b/packages/storage-plus/src/indexed_map.rs @@ -1006,14 +1006,8 @@ mod test { assert_eq!( result, [ - ( - (b"1".to_vec(), b"2".to_vec(), b"5628".to_vec()), - data2.clone() - ), - ( - (b"2".to_vec(), b"1".to_vec(), b"5629".to_vec()), - data3.clone() - ), + ((b"1".to_vec(), b"2".to_vec(), b"5628".to_vec()), data2), + ((b"2".to_vec(), b"1".to_vec(), b"5629".to_vec()), data3), ] ); }