Skip to content

Commit 1a5197a

Browse files
committed
Conditional compilation - Fix typos
1 parent d3e2edf commit 1a5197a

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
@@ -267,7 +267,7 @@ mod os;
267267
> **Note**: The `cfg_attr` can expand to another `cfg_attr`. For example,
268268
> `#[cfg_attr(linux, cfg_attr(feature = "multithreaded", some_other_attribute))`
269269
> is valid. This example would be equivalent to
270-
> `#[cfg_attr(and(linux, feaure ="multithreaded"), some_other_attribute)]`.
270+
> `#[cfg_attr(all(linux, feature ="multithreaded"), some_other_attribute)]`.
271271
272272
The `cfg_attr` attribute is allowed anywhere attributes are allowed except on
273273
generic parameters.

0 commit comments

Comments
 (0)