Skip to content

Commit

Permalink
Merge pull request #2560 from Havvy/patch-3
Browse files Browse the repository at this point in the history
cfg-attr-multi: Fix typo
  • Loading branch information
Centril authored Oct 9, 2018
2 parents cbbc5a7 + 38e3f51 commit eecc3f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion text/2539-cfg_attr-multiple-attrs.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ fn bewitche() {}
Note: The `cfg_attr` can expand to another `cfg_attr`. For example,
`#[cfg_attr(linux, cfg_attr(feature = "multithreaded", some_other_attribute))`
is valid. This example would be equivalent to
`#[cfg_attr(and(linux, feaure ="multithreaded"), some_other_attribute)]`.
`#[cfg_attr(all(linux, feaure ="multithreaded"), some_other_attribute)]`.

## Warning When Zero Attributes

Expand Down

0 comments on commit eecc3f5

Please sign in to comment.