From 185b3dbcc3dcb43534ffe89113480b80e80db3ca Mon Sep 17 00:00:00 2001 From: overlookmotel Date: Thu, 8 Feb 2024 11:47:33 +0000 Subject: [PATCH] refactor(parser): fix outdated comment (#2344) Just fixes an outdated comment. --- crates/oxc_parser/src/lexer/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/oxc_parser/src/lexer/mod.rs b/crates/oxc_parser/src/lexer/mod.rs index f7e3242b6..26c9434a2 100644 --- a/crates/oxc_parser/src/lexer/mod.rs +++ b/crates/oxc_parser/src/lexer/mod.rs @@ -137,7 +137,7 @@ impl<'a> Lexer<'a> { Self::new(allocator, source_text, source_type, unique) } - /// Remaining string from `Chars` + /// Remaining string from `Source` pub fn remaining(&self) -> &'a str { self.source.remaining() }