diff options
| author | Laurenz <laurmaedje@gmail.com> | 2020-10-12 18:01:22 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2020-10-12 18:01:22 +0200 |
| commit | 1a70cb6a330990dc0ab373905d12458ef87afbad (patch) | |
| tree | 5d82f7124734e146c2d00ce3661294ebe9d91fb4 /src/parse/parser.rs | |
| parent | 5243878d810d4817c81acc9ae346d46757fcf602 (diff) | |
Naming and grammar ✔
Diffstat (limited to 'src/parse/parser.rs')
| -rw-r--r-- | src/parse/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse/parser.rs b/src/parse/parser.rs index 18c82008..047f6e4c 100644 --- a/src/parse/parser.rs +++ b/src/parse/parser.rs @@ -110,7 +110,7 @@ impl<'s> Parser<'s> { // Check that we are indeed at the end of the group. debug_assert_eq!(self.peek(), None, "unfinished group"); - let group = self.groups.pop().expect("unstarted group"); + let group = self.groups.pop().expect("no started group"); let end = match group { Group::Paren => Some(Token::RightParen), Group::Bracket => Some(Token::RightBracket), |
