From c97803c8ecf1abadf4b5447250ae3a9c6cb55d38 Mon Sep 17 00:00:00 2001 From: 22earth Date: Mon, 17 Oct 2022 17:38:39 +0800 Subject: [PATCH] =?UTF-8?q?fixed:=20=E5=85=88=E8=BF=87=E6=BB=A4=E6=9C=80?= =?UTF-8?q?=E5=90=8E=E5=86=8D=20cloned?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/yiyiwu.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4730882..f110823 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1143,7 +1143,7 @@ dependencies = [ [[package]] name = "rss2pan" -version = "0.1.2" +version = "0.1.3" dependencies = [ "anyhow", "chrono", diff --git a/Cargo.toml b/Cargo.toml index 72a7684..8e82280 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rss2pan" -version = "0.1.2" +version = "0.1.3" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/src/yiyiwu.rs b/src/yiyiwu.rs index 52d3195..ac3b7cb 100644 --- a/src/yiyiwu.rs +++ b/src/yiyiwu.rs @@ -137,8 +137,8 @@ impl Yiyiwu { for chunk in item_list.chunks(200) { let tasks: Vec = chunk .iter() - .cloned() .filter(|item| !service.has_item(&item.magnet)) + .cloned() .collect(); // 测试用的开关 if std::env::var("RSS2PAN_LOG").is_ok() {