about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/libcore/macros.rs4
-rw-r--r--src/libstd/macros.rs7
2 files changed, 5 insertions, 6 deletions
diff --git a/src/libcore/macros.rs b/src/libcore/macros.rs
index bf58fddbfbd..5142b18dca1 100644
--- a/src/libcore/macros.rs
+++ b/src/libcore/macros.rs
@@ -640,9 +640,7 @@ pub mod builtin {
     #[macro_export]
     macro_rules! cfg { ($($cfg:tt)*) => ({ /* compiler built-in */ }) }
 
-    /// Parse the file provided in the argument as an expression or an
-    /// item according to the context. This file is located relative
-    /// to the current file (similarly to how modules are found).
+    /// Parse a file as an expression or an item according to the context.
     ///
     /// For more information, see the documentation for [`std::include!`].
     ///
diff --git a/src/libstd/macros.rs b/src/libstd/macros.rs
index 40e5dd6ba19..006853063f5 100644
--- a/src/libstd/macros.rs
+++ b/src/libstd/macros.rs
@@ -452,9 +452,10 @@ pub mod builtin {
     #[macro_export]
     macro_rules! cfg { ($($cfg:tt)*) => ({ /* compiler built-in */ }) }
 
-    /// Parse the file provided in the argument as an expression or an
-    /// item according to the context. This file is located relative
-    /// to the current file (similarly to how modules are found).
+    /// Parse a file as an expression or an item according to the context.
+    ///
+    /// The file is located relative to the current file (similarly to how
+    /// modules are found)
     ///
     /// Using this macro is often a bad idea, because if the file is
     /// parsed as an expression, it is going to be placed in the