fixed clippy issues

This commit is contained in:
Nickiel12 2023-09-09 19:27:22 -07:00
parent f1cd6948e2
commit 4b7241f5a4

View file

@ -145,10 +145,8 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
now.day(),
now.year()
));
} else {
if line != "" {
} else if !line.is_empty() {
body_content.push(line.to_string());
}
}
checked.retain(|val| val != &item);
}