Skip to content

Commit

Permalink
Fix 'hint' text mistake from previous PR (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
intgr authored Jun 25, 2023
1 parent 2900a19 commit b7c36a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ impl fmt::Display for ErrorWithHint {
self.err.fmt(f)?;

if !self.hint.is_empty() {
write!(f, "\n{}: {}", paint(COLOR_HINT, "error"), self.hint)?;
write!(f, "\n{}: {}", paint(COLOR_HINT, "hint"), self.hint)?;
}
Ok(())
}
Expand Down

0 comments on commit b7c36a2

Please sign in to comment.