From 1a70cb6a330990dc0ab373905d12458ef87afbad Mon Sep 17 00:00:00 2001 From: Laurenz Date: Mon, 12 Oct 2020 18:01:22 +0200 Subject: =?UTF-8?q?Naming=20and=20grammar=20=E2=9C=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/parse/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/parse/parser.rs') 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), -- cgit v1.2.3