Skip to content

Commit

Permalink
ast: inline span getter
Browse files Browse the repository at this point in the history
  • Loading branch information
lucab committed Jul 9, 2024
1 parent e95298e commit 34db466
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/oxc_ast/src/trivia.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ impl Comment {
}

/// Return the span of the comment text (without delimiters).
#[inline]
pub fn span(&self) -> &Span {
&self.span
}
Expand Down

0 comments on commit 34db466

Please sign in to comment.