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