Skip to content

Commit eecc3f5

Browse files
authored
Merge pull request #2560 from Havvy/patch-3
cfg-attr-multi: Fix typo
2 parents cbbc5a7 + 38e3f51 commit eecc3f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/2539-cfg_attr-multiple-attrs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ fn bewitche() {}
102102
Note: The `cfg_attr` can expand to another `cfg_attr`. For example,
103103
`#[cfg_attr(linux, cfg_attr(feature = "multithreaded", some_other_attribute))`
104104
is valid. This example would be equivalent to
105-
`#[cfg_attr(and(linux, feaure ="multithreaded"), some_other_attribute)]`.
105+
`#[cfg_attr(all(linux, feaure ="multithreaded"), some_other_attribute)]`.
106106

107107
## Warning When Zero Attributes
108108

0 commit comments

Comments
 (0)