File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -472,8 +472,8 @@ pub mod builtin {
472
472
/// boolean expression evaluation of configuration flags. This frequently
473
473
/// leads to less duplicated code.
474
474
///
475
- /// The syntax given to this macro is the same syntax as the `cfg`
476
- /// attribute (so `$cfg:meta` is not _exactly_ correct ).
475
+ /// The syntax given to this macro is the same syntax as [ the `cfg`
476
+ /// attribute](../reference.html#conditional-compilation ).
477
477
///
478
478
/// # Examples
479
479
///
@@ -486,7 +486,7 @@ pub mod builtin {
486
486
/// ```
487
487
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
488
488
#[ macro_export]
489
- macro_rules! cfg { ( $cfg: meta ) => ( { /* compiler built-in */ } ) }
489
+ macro_rules! cfg { ( $( $ cfg: tt ) * ) => ( { /* compiler built-in */ } ) }
490
490
491
491
/// Parse the current given file as an expression.
492
492
///
You can’t perform that action at this time.
0 commit comments