Skip to content

Commit b65b171

Browse files
authored
Rollup merge of #48857 - Songbird0:improve_column_macro_documentation, r=joshtriplett
Modify part of `column!` documentation. Just like `line!` documentation, I've replaced: > The returned column is not the invocation of the `column!` macro itself By > The returned column is *not necessarily* the line of the `column!` invocation itself See #46997.
2 parents 5ab4855 + a0758cd commit b65b171

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/macros.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ pub mod builtin {
497497
/// The expanded expression has type `u32` and is 1-based, so the first column
498498
/// in each line evaluates to 1, the second to 2, etc. This is consistent
499499
/// with error messages by common compilers or popular editors.
500-
/// The returned column is not the invocation of the `column!` macro itself,
500+
/// The returned column is *not necessarily* the line of the `column!` invocation itself,
501501
/// but rather the first macro invocation leading up to the invocation
502502
/// of the `column!` macro.
503503
///

0 commit comments

Comments
 (0)