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:36:07 +0100
committerAnthony Defranceschi <chaacygg@gmail.com>2018-03-09 00:36:07 +0100
commit2d7472fadcfd6b214d6fcfb1313104bdf56609fb (patch)
tree04f8bf95e5fea785880ae42977f0f68ff71f9179 /src/libstd
parent1e1bfc715f8dfe36a38d8fae36fcbe92e7463a3f (diff)
downloadrust-2d7472fadcfd6b214d6fcfb1313104bdf56609fb.tar.gz
rust-2d7472fadcfd6b214d6fcfb1313104bdf56609fb.zip
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 [...]
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..5fb3b85b8cd 100644
--- a/src/libstd/macros.rs
+++ b/src/libstd/macros.rs
@@ -472,7 +472,7 @@ pub mod builtin {
     /// The expanded expression has type `u32` and is 1-based, so the first line
     /// in each file evaluates to 1, the second to 2, etc. This is consistent
     /// with error messages by common compilers or popular editors.
-    /// The returned line is not the invocation of the `line!` macro itself,
+    /// The returned line is *not necessarily* the line of the `line!` invocation itself,
     /// but rather the first macro invocation leading up to the invocation
     /// of the `line!` macro.
     ///