Skip to content

Commit

Permalink
serialize macro fix
Browse files Browse the repository at this point in the history
  • Loading branch information
emberian committed Jan 6, 2015
1 parent bd4119f commit e9cbdd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libserialize/serialize.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e9cbdd8

Please sign in to comment.