mirror of
https://github.com/YGGverse/pulsarss.git
synced 2026-03-31 17:15:29 +00:00
apply clippy fix
This commit is contained in:
parent
dd91aa054d
commit
774a05acfe
1 changed files with 1 additions and 1 deletions
|
|
@ -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())?;
|
||||
|
||||
if !argument.index.is_none() {
|
||||
if argument.index.is_some() {
|
||||
index.insert(destination.path); // request index file update in this location
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue