Skip to content

Commit e9cbdd8

Browse files
committed
serialize macro fix
1 parent bd4119f commit e9cbdd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libserialize/serialize.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ macro_rules! peel {
499499
/// Evaluates to the number of identifiers passed to it, for example: `count_idents!(a, b, c) == 3
500500
macro_rules! count_idents {
501501
() => { 0u };
502-
($_i:ident $(, $rest:ident)*) => { 1 + count_idents!($($rest),*) }
502+
($_i:ident, $($rest:ident),*) => { 1 + count_idents!($($rest),*) }
503503
}
504504

505505
macro_rules! tuple {

0 commit comments

Comments
 (0)