Skip to content

Commit

Permalink
tweak: adjust an error message
Browse files Browse the repository at this point in the history
  • Loading branch information
ljedrz authored Aug 5, 2023
1 parent a0ff3c9 commit ee838ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ impl fmt::Display for ParseError {
match *self {
ParseError::InvalidCharacter((idx, char)) => write!(
f,
"lexical error; the invalid character '{}' at {}",
"lexical error; invalid character '{}' at {}",
char, idx
),
ParseError::InvalidExpression => write!(f, "syntax error; the expression is invalid"),
Expand Down

0 comments on commit ee838ee

Please sign in to comment.