mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-25 11:12:48 +03:00
Fmt
This commit is contained in:
parent
e07887e9c7
commit
8ae7c0da99
@ -66,11 +66,7 @@ impl ParserContext<'_> {
|
||||
fn unexpected_item(token: &SpannedToken, expected: &[Token]) -> ParserError {
|
||||
ParserError::unexpected(
|
||||
&token.token,
|
||||
expected
|
||||
.iter()
|
||||
.map(|x| format!("'{x}'"))
|
||||
.collect::<Vec<_>>()
|
||||
.join(", "),
|
||||
expected.iter().map(|x| format!("'{x}'")).collect::<Vec<_>>().join(", "),
|
||||
token.span,
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user