diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-01-06 15:49:15 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-01-06 15:49:15 -0800 |
| commit | 26cd8eae48ea99bda183c5224bc423991ccfaf1f (patch) | |
| tree | 26492380aa79b1b1f70acb2a624e30ca097374df /src/libserialize | |
| parent | 34a63d336419e80d3afec16c730d1ad5fa11dc73 (diff) | |
| parent | e9cbdd866d1c9c01e9affaf6875e37e58a073758 (diff) | |
| download | rust-26cd8eae48ea99bda183c5224bc423991ccfaf1f.tar.gz rust-26cd8eae48ea99bda183c5224bc423991ccfaf1f.zip | |
rollup merge of #20563: cmr/macro-input-future-proofing
Diffstat (limited to 'src/libserialize')
| -rw-r--r-- | src/libserialize/serialize.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserialize/serialize.rs b/src/libserialize/serialize.rs index d80a14422e9..6a04565312d 100644 --- a/src/libserialize/serialize.rs +++ b/src/libserialize/serialize.rs @@ -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 { |
