diff --git a/crates/oxc_parser/src/lexer/string.rs b/crates/oxc_parser/src/lexer/string.rs index 74a8b7aed16bb..8b5d5074fdbd9 100644 --- a/crates/oxc_parser/src/lexer/string.rs +++ b/crates/oxc_parser/src/lexer/string.rs @@ -250,6 +250,7 @@ impl<'a> Lexer<'a> { self.token.set_escaped(true); } + #[inline] pub(crate) fn get_string(&self, token: Token) -> &'a str { if token.escaped() { return self.escaped_strings[&token.start()];