From f6e2e04e68af7dfc709c89055d32b03b2efea090 Mon Sep 17 00:00:00 2001 From: Jake Shadle Date: Wed, 7 Feb 2024 11:43:42 +0100 Subject: [PATCH] Fix lints --- tests/sparse.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/sparse.rs b/tests/sparse.rs index 4107c62..332b70b 100644 --- a/tests/sparse.rs +++ b/tests/sparse.rs @@ -391,7 +391,7 @@ mod remote { /// Reuses connections. This test is intended to be run under strace to /// validate that connections are not being created - /// https://github.com/EmbarkStudios/tame-index/issues/46 + /// #[test] fn reuses_connection() { let td = utils::tempdir(); @@ -402,7 +402,7 @@ mod remote { let rsi = tame_index::index::RemoteSparseIndex::new(index, client); let results = rsi.krates( - KRATES.into_iter().map(|s| s.to_string()).collect(), + KRATES.iter().map(|s| (*s).to_string()).collect(), false, lock, ); @@ -425,7 +425,7 @@ mod remote { let results = rsi .krates_blocking( - KRATES.into_iter().map(|s| s.to_string()).collect(), + KRATES.iter().map(|s| (*s).to_string()).collect(), false, None, lock,