better end of input error

This commit is contained in:
Robin Appelman 2022-01-19 16:02:54 +01:00
commit ca5e5aa566

View file

@ -120,7 +120,7 @@ impl Display for UnexpectedTokenError {
),
None => write!(
f,
"Unexpected token, found None expected one of {}",
"Unexpected end of input expected one of {}",
self.expected
),
}