Skip to content

Commit 478211f

Browse files
committed
Add a short intro to the syntax
1 parent 39a9675 commit 478211f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/conditional-compilation.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,8 @@ The *`cfg_attr` [attribute]* conditionally includes attributes based on a config
399399
> ```
400400
401401
r[cfg.cfg_attr.syntax]
402+
The syntax for the `cfg_attr` attribute is:
403+
402404
```grammar,configuration
403405
@root CfgAttrAttribute -> `cfg_attr` `(` ConfigurationPredicate `,` CfgAttrs? `)`
404406

0 commit comments

Comments
 (0)