From d2642d1fd3ed0bb47f891ba24e0f6ec97699e05c Mon Sep 17 00:00:00 2001 From: projectmoon Date: Wed, 4 Nov 2020 20:14:14 +0000 Subject: [PATCH] Less verbose errors from internal dice parsing errors. --- src/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser.rs b/src/parser.rs index 7285ce6..9d03693 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -17,7 +17,7 @@ pub enum DiceParsingError { #[error("extraneous input detected")] UnconsumedInput, - #[error("parser error: {0}")] + #[error("{0}")] InternalParseError(#[from] combine::error::StringStreamError), }