Skip to content

Commit 1620acf

Browse files
committed
Fix docs for column/line
Fixes #26424
1 parent 2f56839 commit 1620acf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/macros.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ pub mod builtin {
331331

332332
/// A macro which expands to the line number on which it was invoked.
333333
///
334-
/// The expanded expression has type `usize`, and the returned line is not
334+
/// The expanded expression has type `u32`, and the returned line is not
335335
/// the invocation of the `line!()` macro itself, but rather the first macro
336336
/// invocation leading up to the invocation of the `line!()` macro.
337337
///
@@ -346,7 +346,7 @@ pub mod builtin {
346346

347347
/// A macro which expands to the column number on which it was invoked.
348348
///
349-
/// The expanded expression has type `usize`, and the returned column is not
349+
/// The expanded expression has type `u32`, and the returned column is not
350350
/// the invocation of the `column!()` macro itself, but rather the first macro
351351
/// invocation leading up to the invocation of the `column!()` macro.
352352
///

0 commit comments

Comments
 (0)