Skip to content

Commit

Permalink
style: Inline fmt args
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Sep 27, 2024
1 parent 88f7f06 commit 1529b95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/exit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ pub fn report(result: ExitResult) -> crate::Code {
if let Some(msg) = err.msg {
// At this point, we might be exiting due to a broken pipe, just do our best and
// move on.
let _ = writeln!(std::io::stderr(), "{}", msg);
let _ = writeln!(std::io::stderr(), "{msg}");
}
err.code
}
Expand Down

0 comments on commit 1529b95

Please sign in to comment.