Skip to content

Commit 5ab4855

Browse files
authored
Rollup merge of #48856 - Songbird0:improve_line_macro_documentation, r=joshtriplett
Modify part of `line!` documentation. In accordance with #46997, I've replaced: > The returned line is not the invocation of the line! macro itself [...] By > The returned line is *not necessarily* the line of the `line!` invocation itself [...]
2 parents 68e7282 + 2d7472f commit 5ab4855

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
@@ -472,7 +472,7 @@ pub mod builtin {
472472
/// The expanded expression has type `u32` and is 1-based, so the first line
473473
/// in each file evaluates to 1, the second to 2, etc. This is consistent
474474
/// with error messages by common compilers or popular editors.
475-
/// The returned line is not the invocation of the `line!` macro itself,
475+
/// The returned line is *not necessarily* the line of the `line!` invocation itself,
476476
/// but rather the first macro invocation leading up to the invocation
477477
/// of the `line!` macro.
478478
///

0 commit comments

Comments
 (0)