We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 65673ee + cc356b0 commit 7a5aab5Copy full SHA for 7a5aab5
src/conditional-compilation.md
@@ -246,8 +246,7 @@ fn needs_not_foo() {
246
}
247
```
248
249
-The `cfg` attribute is allowed anywhere attributes are allowed except on
250
-generic parameters.
+The `cfg` attribute is allowed anywhere attributes are allowed.
251
252
### The `cfg_attr` attribute
253
@@ -289,8 +288,7 @@ fn bewitched() {}
289
288
> is valid. This example would be equivalent to
290
> `#[cfg_attr(all(linux, feature ="multithreaded"), some_other_attribute)]`.
291
292
-The `cfg_attr` attribute is allowed anywhere attributes are allowed except on
293
+The `cfg_attr` attribute is allowed anywhere attributes are allowed.
294
295
### The `cfg` macro
296
0 commit comments