mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 20:32:10 +00:00
5 lines
170 B
Rust
5 lines
170 B
Rust
use oxc_span::Span;
|
|
|
|
pub fn is_next_line_empty(source_text: &str, span: Span) -> bool {
|
|
source_text.chars().nth((span.end as usize) + 1).is_some_and(|c| c == '\n')
|
|
}
|