change error message for Default variant

master
rasul 5 years ago
parent 6b4c214475
commit bbc85c535a

@ -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),
}
}
}

Loading…
Cancel
Save