From b1423a4e2c98daf34fed727f73d3c77244ad5e36 Mon Sep 17 00:00:00 2001 From: Akbar Rahman Date: Sat, 9 May 2026 23:06:24 +0100 Subject: [PATCH] make clippy happy --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index b9e88e8..96f3eef 100644 --- a/src/main.rs +++ b/src/main.rs @@ -96,7 +96,7 @@ async fn main() -> Result<(), Box> { let config = spawn_blocking(move || std::fs::read_to_string(urls_filename)).await??; let mut urlmap = HashMap::new(); for url_pair in config.split('\n') { - if url_pair.len() == 0 { + if url_pair.is_empty() { continue; }