Skip to content

Commit 70c8e80

Browse files
authored
Merge pull request #2109 from DanielEScherzer/patch-4
conditional-compilation: add a space in `cfg.cfg_attr.attribute-list`
2 parents ec78de0 + 69eca55 commit 70c8e80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/conditional-compilation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ Zero, one, or more attributes may be listed. Multiple attributes will each be ex
443443
> ```
444444
445445
> [!NOTE]
446-
> The `cfg_attr` can expand to another `cfg_attr`. For example, `#[cfg_attr(target_os = "linux", cfg_attr(feature = "multithreaded", some_other_attribute))]` is valid. This example would be equivalent to `#[cfg_attr(all(target_os = "linux", feature ="multithreaded"), some_other_attribute)]`.
446+
> The `cfg_attr` can expand to another `cfg_attr`. For example, `#[cfg_attr(target_os = "linux", cfg_attr(feature = "multithreaded", some_other_attribute))]` is valid. This example would be equivalent to `#[cfg_attr(all(target_os = "linux", feature = "multithreaded"), some_other_attribute)]`.
447447
448448
r[cfg.macro]
449449
### The `cfg` macro

0 commit comments

Comments
 (0)