Compare commits

..

2 commits

Author SHA1 Message Date
4b7241f5a4 fixed clippy issues 2023-09-09 19:27:22 -07:00
f1cd6948e2 ran cargo fmt 2023-09-09 19:23:59 -07:00

View file

@ -1,4 +1,4 @@
use chrono::{DateTime, Utc, Datelike};
use chrono::{DateTime, Datelike, Utc};
use chrono_tz::US::Central;
use clap::Parser;
use log::{debug, error};
@ -135,7 +135,6 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
}
};
let elapsed_time: chrono::Duration = now - start_time;
body_content.push(format!(
@ -146,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);
}