Skip to content

Commit e5baf5d

Browse files
committed
Make the UTF-8 statement more explicit and explicitly test for it
1 parent 7ec42ac commit e5baf5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

proc_macro/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,8 +432,8 @@ pub struct LineColumn {
432432
/// The 1-indexed line in the source file on which the span starts or ends (inclusive).
433433
#[unstable(feature = "proc_macro_span", issue = "54725")]
434434
pub line: usize,
435-
/// The 1-indexed column (in UTF-8 characters) in the source file on which
436-
/// the span starts or ends (inclusive).
435+
/// The 1-indexed column (number of bytes in UTF-8 encoding) in the source
436+
/// file on which the span starts or ends (inclusive).
437437
#[unstable(feature = "proc_macro_span", issue = "54725")]
438438
pub column: usize,
439439
}

0 commit comments

Comments
 (0)