Skip to content

Commit

Permalink
chore: message format
Browse files Browse the repository at this point in the history
  • Loading branch information
ImSoZRious committed Jul 7, 2023
1 parent e5fa000 commit 521798e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/payload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pub struct RunResult {

impl std::fmt::Display for Payload {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
f.write_str("Payload {self.id}\nstatus:{self.status}\nscore:{self.score}")
f.write_fmt(format_args!("Payload {}\tstatus: `{}`\tscore: {}", self.id, self.status, self.score))
}
}

Expand Down

0 comments on commit 521798e

Please sign in to comment.