From 774a05acfe9b9c5a970677c41dfb660ef89fc665 Mon Sep 17 00:00:00 2001 From: yggverse Date: Wed, 12 Feb 2025 19:53:58 +0200 Subject: [PATCH] apply clippy fix --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 1e6722c..3e83f49 100644 --- a/src/main.rs +++ b/src/main.rs @@ -94,7 +94,7 @@ fn crawl(argument: &Argument, output: &Output) -> Result<(), Box> { File::create(destination.item())?.write_all(data.join("\n\n").as_bytes())?; - if !argument.index.is_none() { + if argument.index.is_some() { index.insert(destination.path); // request index file update in this location } }