We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c95d691 commit d65202dCopy full SHA for d65202d
crates/oxc_span/src/span.rs
@@ -74,7 +74,7 @@ impl Span {
74
Self { start: at, end: at }
75
}
76
77
- /// Create a new [`Span`] starting at `start` and covering `size` characters.
+ /// Create a new [`Span`] starting at `start` and covering `size` bytes.
78
///
79
/// # Example
80
/// ```
@@ -88,7 +88,7 @@ impl Span {
88
Self::new(start, start + size)
89
90
91
- /// Get the number of characters covered by the [`Span`].
+ /// Get the number of bytes covered by the [`Span`].
92
93
94
0 commit comments