tweak cfg! doc comment

This commit is contained in:
Alex Burka 2015-11-29 22:53:19 -05:00
parent f542d4aba7
commit f18bfb3168

View file

@ -472,8 +472,8 @@ pub mod builtin {
/// boolean expression evaluation of configuration flags. This frequently
/// leads to less duplicated code.
///
/// The syntax given to this macro is the same syntax as the `cfg`
/// attribute (so `$cfg:meta` is not _exactly_ correct).
/// The syntax given to this macro is the same syntax as [the `cfg`
/// attribute](../reference.html#conditional-compilation).
///
/// # Examples
///
@ -486,7 +486,7 @@ pub mod builtin {
/// ```
#[stable(feature = "rust1", since = "1.0.0")]
#[macro_export]
macro_rules! cfg { ($cfg:meta) => ({ /* compiler built-in */ }) }
macro_rules! cfg { ($($cfg:tt)*) => ({ /* compiler built-in */ }) }
/// Parse the current given file as an expression.
///