fixed clippy issues
This commit is contained in:
parent
f1cd6948e2
commit
4b7241f5a4
1 changed files with 1 additions and 3 deletions
|
@ -145,11 +145,9 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
now.day(),
|
now.day(),
|
||||||
now.year()
|
now.year()
|
||||||
));
|
));
|
||||||
} else {
|
} else if !line.is_empty() {
|
||||||
if line != "" {
|
|
||||||
body_content.push(line.to_string());
|
body_content.push(line.to_string());
|
||||||
}
|
}
|
||||||
}
|
|
||||||
checked.retain(|val| val != &item);
|
checked.retain(|val| val != &item);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue