Skip to content

Commit db4d4ef

Browse files
committed
Update cfg_if! to cfg_select!
The macro is now builtin.
1 parent 776c199 commit db4d4ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/sys/env_consts.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
// Replaces the #[else] gate with #[cfg(not(any(…)))] of all the other gates.
44
// This ensures that they must be mutually exclusive and do not have precedence
5-
// like cfg_if!.
5+
// like cfg_select!.
66
macro cfg_unordered(
77
$(#[cfg($cfg:meta)] $os:item)*
88
#[else] $fallback:item

0 commit comments

Comments
 (0)