Skip to content

Commit 34db466

Browse files
committed
ast: inline span getter
1 parent e95298e commit 34db466

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/oxc_ast/src/trivia.rs

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ impl Comment {
2424
}
2525

2626
/// Return the span of the comment text (without delimiters).
27+
#[inline]
2728
pub fn span(&self) -> &Span {
2829
&self.span
2930
}

0 commit comments

Comments
 (0)