From b7c36a26a92de79330c5f175b5cea7efe20037d7 Mon Sep 17 00:00:00 2001 From: Marti Raudsepp Date: Sun, 25 Jun 2023 22:41:51 +0300 Subject: [PATCH] Fix 'hint' text mistake from previous PR (#138) --- src/errors.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/errors.rs b/src/errors.rs index 70adef2..f59d52e 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -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(()) }