Skip to content

Commit

Permalink
Clarify some stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbrain-za committed Nov 9, 2023
1 parent aa3106b commit 82e1c8f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "challenge_frontend"
version = "1.0.0"
version = "1.0.1"
edition = "2021"
rust-version = "1.71"
authors = ["Philip Barlow"]
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/submission.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ impl Display for SubmissionResult {
match self {
SubmissionResult::NotStarted => write!(f, ""),
SubmissionResult::Success { score: _, message } => {
write!(f, "Success! {}", message)
write!(f, "{}", message)
}
SubmissionResult::Failure { message } => write!(f, "Failure: {}", message),
SubmissionResult::NotAuthorized => write!(f, "Not authorized"),
Expand Down

0 comments on commit 82e1c8f

Please sign in to comment.