Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjperez committed May 2, 2024
1 parent 951cb75 commit 0dbda71
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions espflash/src/cli/monitor/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,7 @@ pub fn monitor(
if let Err(err) = log_file
.write_all(strip_ansi_formatting_and_apply_timestamp(&line).as_bytes())
{
println!(
"could not write line {} to log file: {}",
line,
err.to_string()
);
println!("could not write line {} to log file: {}", line, err);
}
log_file.write_all(b"\n").ok();
}
Expand Down

0 comments on commit 0dbda71

Please sign in to comment.