diff --git a/src/parser/mod.rs b/src/parser/mod.rs index b2b3f42bb..69e2f660b 100644 --- a/src/parser/mod.rs +++ b/src/parser/mod.rs @@ -21214,6 +21214,7 @@ impl Word { /// Use this method when you need to keep the original `Word` around. /// If you can consume the `Word`, prefer [`into_ident`](Self::into_ident) instead /// to avoid cloning. + #[inline] pub fn to_ident(&self, span: Span) -> Ident { Ident { value: self.value.clone(),