about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2018-03-08 17:25:59 -0800
committerGitHub <noreply@github.com>2018-03-08 17:25:59 -0800
commitb65b171f4433eb14b317c877ac84e4455caec837 (patch)
tree0fcabcc7de8c86c92497c331b5be41f45f79a579 /src/libstd
parent5ab485599d583d6269a24b2cdb070f91030422df (diff)
parenta0758cdcffcd3810c6bc3eef06fa8193c6e10f28 (diff)
downloadrust-b65b171f4433eb14b317c877ac84e4455caec837.tar.gz
rust-b65b171f4433eb14b317c877ac84e4455caec837.zip
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.
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/macros.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/macros.rs b/src/libstd/macros.rs
index 5fb3b85b8cd..b804cf7cd90 100644
--- a/src/libstd/macros.rs
+++ b/src/libstd/macros.rs
@@ -497,7 +497,7 @@ pub mod builtin {
     /// The expanded expression has type `u32` and is 1-based, so the first column
     /// in each line evaluates to 1, the second to 2, etc. This is consistent
     /// with error messages by common compilers or popular editors.
-    /// The returned column is not the invocation of the `column!` macro itself,
+    /// The returned column is *not necessarily* the line of the `column!` invocation itself,
     /// but rather the first macro invocation leading up to the invocation
     /// of the `column!` macro.
     ///