about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorAnthony Defranceschi <chaacygg@gmail.com>2018-03-09 00:43:54 +0100
committerAnthony Defranceschi <chaacygg@gmail.com>2018-03-09 00:43:54 +0100
commita0758cdcffcd3810c6bc3eef06fa8193c6e10f28 (patch)
treeef0b1437ee9ba5645739afb4a19d8608b30f6d56 /src/libstd
parent1e1bfc715f8dfe36a38d8fae36fcbe92e7463a3f (diff)
downloadrust-a0758cdcffcd3810c6bc3eef06fa8193c6e10f28.tar.gz
rust-a0758cdcffcd3810c6bc3eef06fa8193c6e10f28.zip
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 a18c811d196..9543540cb5b 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.
     ///