diff options
author | pierresy <pierre-henri.symoneaux@alcatel-lucent.com> | 2015-06-18 22:20:51 +0200 |
---|---|---|
committer | pierresy <pierre-henri.symoneaux@alcatel-lucent.com> | 2015-06-18 22:20:51 +0200 |
commit | 8b3aa5ab7b88059641c27f7ff2fcfcc0ec1aa4b2 (patch) | |
tree | d62c42eb4ee5e97f98b9ae7684aac952df126272 /src/lib.rs | |
parent | f1da0232d65703f62ea0ab8a2019276f4f7339a7 (diff) |
Fixed issue with ptable! macro
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -221,9 +221,9 @@ macro_rules! table { /// The syntax is the same that the one for the `table!` macro
#[macro_export]
macro_rules! ptable {
- ([$($value: expr), *]) => (
+ ($([$($value: expr), *]), *) => (
{
- let tab = table!([$($value), *]);
+ let tab = table!($([$($value), *]), *);
tab.printstd();
tab
}
|