From bbc85c535a4c7b53ff5b5c983bd27d5cda986a8a Mon Sep 17 00:00:00 2001 From: rasul Date: Sun, 5 Apr 2020 17:13:30 -0500 Subject: [PATCH] change error message for Default variant --- src/command/parser_error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/command/parser_error.rs b/src/command/parser_error.rs index 2841d54..b202ed5 100644 --- a/src/command/parser_error.rs +++ b/src/command/parser_error.rs @@ -13,7 +13,7 @@ impl fmt::Display for ParserError { match self { Self::Empty => fmt::Display::fmt("No command provided", f), Self::Unknown => fmt::Display::fmt("Unknown command", f), - Self::Default => fmt::Display::fmt("Internal error", f), + Self::Default => fmt::Display::fmt("Unknown command", f), } } }