From 2df00564d6c47a2ffa0c0b7b43735d15f5f7a9cb Mon Sep 17 00:00:00 2001 From: yggverse Date: Sun, 15 Jun 2025 21:23:00 +0300 Subject: [PATCH] remove extra copy --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 29cc2f1..4cd885e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -144,7 +144,7 @@ async fn main() -> Result<()> { // Manticore and other alternative storage type // ignore on the next crawl iterations for this session - index.insert(r.info_hash.as_string()); + index.insert(i); } // unexpected as should be deleted Ok(AddTorrentResponse::AlreadyManaged(..)) => panic!(),