Skip to content

Commit 59ea5ae

Browse files
authored
Merge pull request #277 from VolodymyrBg/bg
fix(lexer/parser): correct typos in comments and error messages
2 parents a0fa376 + 1ee2bc2 commit 59ea5ae

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/parser/expr.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ pub enum ExprKind {
9999

100100
/// An array or tuple access, for example:
101101
/// `lhs[idx]`
102-
/// As both almost work identical to each other expersion level we handle the cases for each container in the
102+
/// As both almost work identical to each other expression level we handle the cases for each container in the
103103
/// circuit writers and typecheckers
104104
ArrayOrTupleAccess {
105105
container: Box<Expr>,
@@ -178,7 +178,7 @@ impl Expr {
178178
span,
179179
}) => Ident::new(value, span),
180180
_ => Err(Error::new(
181-
"parse indentifier",
181+
"parse identifier",
182182
ErrorKind::UnexpectedError("cannot qualify a non-identifier"),
183183
span,
184184
))?,

0 commit comments

Comments
 (0)