Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions crates/oxc_span/src/span.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ impl Span {
Self { start: at, end: at }
}

/// Create a new [`Span`] starting at `start` and covering `size` characters.
/// Create a new [`Span`] starting at `start` and covering `size` bytes.
///
/// # Example
/// ```
Expand All @@ -88,7 +88,7 @@ impl Span {
Self::new(start, start + size)
}

/// Get the number of characters covered by the [`Span`].
/// Get the number of bytes covered by the [`Span`].
///
/// # Example
/// ```
Expand Down