From 0e479197a7d6c4c0ba8968ed781dccd0ee1f8443 Mon Sep 17 00:00:00 2001 From: Jeff Date: Fri, 2 Aug 2024 11:01:02 -0400 Subject: [PATCH] Clean up --- dust-lang/src/interpreter.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dust-lang/src/interpreter.rs b/dust-lang/src/interpreter.rs index 467515d..6bc68c2 100644 --- a/dust-lang/src/interpreter.rs +++ b/dust-lang/src/interpreter.rs @@ -41,11 +41,11 @@ impl Interpreter { } /// Lexes the source code and returns a list of tokens. - pub fn lex<'id>( + pub fn lex<'src>( &self, source_id: Arc, - source: &'id Arc, - ) -> Result>, InterpreterError> { + source: &'src Arc, + ) -> Result>, InterpreterError> { self.sources .write() .unwrap() @@ -60,10 +60,10 @@ impl Interpreter { } /// Parses the source code and returns an abstract syntax tree. - pub fn parse<'id>( + pub fn parse( &self, source_id: Arc, - source: &'id Arc, + source: &Arc, ) -> Result { self.sources .write()