Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
wrwg authored Oct 9, 2024
1 parent 8990356 commit 116fb63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion third_party/move/move-compiler/src/parser/syntax.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1402,7 +1402,7 @@ fn parse_control_exp(context: &mut Context) -> Result<(Exp, bool), Box<Diagnosti
if !matches!(context.tokens.peek(), Tok::While | Tok::Loop) {
return Err(unexpected_token_error(
context.tokens,
"one of: 'while' or 'loop'",
"one of: `while` or `loop`",
));
}
};
Expand Down

0 comments on commit 116fb63

Please sign in to comment.