Skip to content

Commit

Permalink
Fix trivial difference between full and non-full expression parse errors
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jul 31, 2023
1 parent f79ba15 commit 91c84f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/expr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1663,7 +1663,7 @@ pub(crate) mod parsing {
}
Ok(expr)
} else {
Err(input.error("expected expression"))
Err(input.error("expected an expression"))
}
}

Expand Down

0 comments on commit 91c84f6

Please sign in to comment.