fix clippy

This commit is contained in:
Chris
2024-05-01 19:50:17 -06:00
parent 41aa72ae0f
commit 054c5bdfb8

View File

@ -51,7 +51,7 @@ fn write_error(msg: &str) -> Result<(), Box<dyn std::error::Error>> {
.iter()
.collect();
let write = fs::create_dir_all(&file_path.parent().unwrap()).and_then(|()| {
let write = fs::create_dir_all(file_path.parent().unwrap()).and_then(|()| {
let mut file = OpenOptions::new()
.append(true)
.create(true)