From 12210fd3ec75629c50539723debeddbd8ebe4b8a Mon Sep 17 00:00:00 2001 From: Jeff Date: Sat, 18 May 2024 16:24:17 -0400 Subject: [PATCH] Clean up --- dust-lang/src/parser.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/dust-lang/src/parser.rs b/dust-lang/src/parser.rs index 9d58067..152a096 100644 --- a/dust-lang/src/parser.rs +++ b/dust-lang/src/parser.rs @@ -158,7 +158,6 @@ pub fn parser<'src>( }); let statement = recursive(|statement| { - let allow_built_ins = allow_built_ins.clone(); let block = statement .clone() .repeated() @@ -170,7 +169,6 @@ pub fn parser<'src>( .map_with(|statements, state| Block::new(statements).with_position(state.span())); let expression = recursive(|expression| { - let allow_built_ins = allow_built_ins.clone(); let identifier_expression = identifier.clone().map_with(|identifier, state| { Expression::Identifier(identifier.with_position(state.span())) });