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