mirror of
https://gitee.com/openharmony/third_party_rust_cfg-if
synced 2024-11-27 01:03:13 +00:00
notes fix
This commit is contained in:
parent
88456aa305
commit
3e9d4876b8
@ -84,7 +84,8 @@ macro_rules! cfg_if {
|
||||
#[$m] $crate::cfg_if! { @__identity $($tokens)* }
|
||||
};
|
||||
|
||||
// Internal macro to Apply a cfg attribute to a list of items
|
||||
// Internal macro to make __apply work out right for different match types,
|
||||
// because of how macros matching/expand stuff.
|
||||
(@__identity $($tokens:tt)*) => {
|
||||
$($tokens)*
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user