apply clippy fix

This commit is contained in:
yggverse 2025-02-12 19:53:58 +02:00
parent dd91aa054d
commit 774a05acfe

View file

@ -94,7 +94,7 @@ fn crawl(argument: &Argument, output: &Output) -> Result<(), Box<dyn Error>> {
File::create(destination.item())?.write_all(data.join("\n\n").as_bytes())?; 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 index.insert(destination.path); // request index file update in this location
} }
} }