Skip to content

Commit

Permalink
fix: typo in src/parser/types.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
cristiantroy committed Jan 21, 2024
1 parent 3d03c65 commit cb0b29e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1056,7 +1056,7 @@ impl Stmt {
kind: TokenKind::Keyword(Keyword::If),
span: _,
}) => {
// TODO: wait, this should be implemented as an expresssion! not a statement
// TODO: wait, this should be implemented as an expression! not a statement
panic!("if statements are not implemented yet. Use if expressions instead (e.g. `x = if cond {{ 1 }} else {{ 2 }};`)");
}

Expand Down

0 comments on commit cb0b29e

Please sign in to comment.