From 2aa9fb278a8f703a7382af5ad9ccb688d9eac425 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20Beno=C3=AEt?= Date: Sat, 31 Dec 2022 13:48:00 +0100 Subject: [PATCH] Errors - Missing space in message --- src/errors.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/errors.rs b/src/errors.rs index bf71198..7d9db21 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -41,7 +41,7 @@ impl ParserError { pos: if token.token_type == TokenType::Eof { String::from(" at end of input") } else { - format!("at '{}'", token.lexeme) + format!(" at '{}'", token.lexeme) }, message: String::from(message), }