diff --git a/crates/oxc_parser/src/lexer/mod.rs b/crates/oxc_parser/src/lexer/mod.rs index ee493c45b..830200264 100644 --- a/crates/oxc_parser/src/lexer/mod.rs +++ b/crates/oxc_parser/src/lexer/mod.rs @@ -308,6 +308,8 @@ impl<'a> Lexer<'a> { } /// Call a closure while hinting to compiler that this branch is rarely taken. +/// "Cold trampoline function", suggested in: +/// #[cold] pub fn cold_branch T, T>(f: F) -> T { f()