From 597857ccd00d69b09971de988428b6e3064dcaf2 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 6 Nov 2021 14:14:40 +0800 Subject: [PATCH] typo --- nac3parser/src/config_comment_helper.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nac3parser/src/config_comment_helper.rs b/nac3parser/src/config_comment_helper.rs index a0631c48f..dbc472574 100644 --- a/nac3parser/src/config_comment_helper.rs +++ b/nac3parser/src/config_comment_helper.rs @@ -17,7 +17,7 @@ pub fn make_config_comment( location: com_loc, error: LexicalErrorType::OtherError( format!( - "config comment at top must have the same indentation with what it applies(comment at {}, statement at {})", + "config comment at top must have the same indentation with what it applies (comment at {}, statement at {})", com_loc, stmt_loc, ) @@ -41,7 +41,7 @@ pub fn handle_small_stmt(stmts: &mut [Stmt], nac3com_above: Vec<(Ident, To location: com_above_loc, error: LexicalErrorType::OtherError( format!( - "config comment at top must have the same indentation with what it applies(comment at {}, statement at {})", + "config comment at top must have the same indentation with what it applies (comment at {}, statement at {})", com_above_loc, stmts[0].location, )