We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f382394 commit f182317Copy full SHA for f182317
src/statements.md
@@ -89,10 +89,18 @@ if true {
89
};
90
```
91
92
+## Attributes on Statements
93
+
94
+Statements accept [outer attributes]. The attributes that have meaning on a
95
+statement are [`cfg`], and [the lint check attributes].
96
97
[block]: expressions/block-expr.html
98
[expression]: expressions.html
99
[function]: items/functions.html
100
[item]: items.html
101
[module]: items/modules.html
102
[canonical path]: paths.html#canonical-paths
103
[implementations]: items/implementations.html
104
+[outer attributes]: attributes.html
105
+[`cfg`]: attributes.html#conditional-compilation
106
+[the lint check attributes]: attributes.html#lint-check-attributes.html
0 commit comments