Small doc change for include!

This commit is contained in:
Артём Павлов [Artyom Pavlov] 2016-10-21 17:44:19 +03:00
parent ce8e4e71f8
commit b374c53ae6
No known key found for this signature in database
GPG Key ID: 13A9399FB77E335C
2 changed files with 5 additions and 6 deletions

View File

@ -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!`].
///

View File

@ -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