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