serialize macro fix
This commit is contained in:
parent
bd4119f965
commit
e9cbdd866d
1 changed files with 1 additions and 1 deletions
|
@ -499,7 +499,7 @@ macro_rules! peel {
|
|||
/// Evaluates to the number of identifiers passed to it, for example: `count_idents!(a, b, c) == 3
|
||||
macro_rules! count_idents {
|
||||
() => { 0u };
|
||||
($_i:ident $(, $rest:ident)*) => { 1 + count_idents!($($rest),*) }
|
||||
($_i:ident, $($rest:ident),*) => { 1 + count_idents!($($rest),*) }
|
||||
}
|
||||
|
||||
macro_rules! tuple {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue