From 5e82d2ef387c90d8e439a16329c77b1657493412 Mon Sep 17 00:00:00 2001 From: Bauke Date: Thu, 22 Sep 2022 21:19:49 +0200 Subject: [PATCH] Fix Clippy warning. --- source/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/main.rs b/source/main.rs index 555ef92..305bb27 100644 --- a/source/main.rs +++ b/source/main.rs @@ -169,7 +169,7 @@ fn main() -> Result<()> { if args.verify { let verify_feed = |url: &str| -> Result<_> { - let response = ureq_agent.get(&url).call()?; + let response = ureq_agent.get(url).call()?; sleep(timeout); Ok(( response.content_type() == "text/xml",