From e9caa710c46b3c3547c1cab610ee049ed3281e08 Mon Sep 17 00:00:00 2001 From: rvcas Date: Thu, 9 Feb 2023 01:05:11 -0500 Subject: [PATCH] chore: rename assert_parser to expect_parser --- crates/aiken-lang/src/parser.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/aiken-lang/src/parser.rs b/crates/aiken-lang/src/parser.rs index 4760e0c0..2c3eed8e 100644 --- a/crates/aiken-lang/src/parser.rs +++ b/crates/aiken-lang/src/parser.rs @@ -1028,7 +1028,7 @@ pub fn expr_parser( }, ); - let assert_parser = just(Token::Expect) + let expect_parser = just(Token::Expect) .ignore_then(pattern_parser()) .then(just(Token::Colon).ignore_then(type_parser()).or_not()) .then_ignore(just(Token::Equal)) @@ -1093,7 +1093,7 @@ pub fn expr_parser( block_parser, when_parser, let_parser, - assert_parser, + expect_parser, if_parser, ));