summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index f45ad55..4fd2655 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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
}