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())) });