From 7f675c9d81be7c4b0a416139c84a11c1e3212c4b Mon Sep 17 00:00:00 2001 From: Mark Date: Thu, 3 Aug 2023 22:15:11 -0700 Subject: [PATCH] Improved error message --- src/errors.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/errors.rs b/src/errors.rs index 418847c..fcbcec6 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -86,7 +86,7 @@ impl DaisyError { }, DaisyError::BadArguments(s, want, got) => { return FormattedText::new(format!( - "[e]Evaluation Error:[n] [c]{s}[n] takes {want} argument{}, got {got}", + "[e]Evaluation Error:[n] [c]{s}[n] takes {want} argument{}, but it got {got}", if *want == 1 {""} else {"s"}, )); }