From 8b3aa5ab7b88059641c27f7ff2fcfcc0ec1aa4b2 Mon Sep 17 00:00:00 2001 From: pierresy Date: Thu, 18 Jun 2015 22:20:51 +0200 Subject: Fixed issue with ptable! macro --- examples/basic.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'examples') diff --git a/examples/basic.rs b/examples/basic.rs index 3be3153..13cc661 100644 --- a/examples/basic.rs +++ b/examples/basic.rs @@ -40,4 +40,10 @@ fn main() { ["foobar", "bar", "foo"], ["foobar2", "bar2", "foo2"] ); + + // Or directly print it like this + let _table = table!(["ABC", "DEFG", "HIJKLMN"], + ["foobar", "bar", "foo"], + ["foobar2", "bar2", "foo2"] + ); } -- cgit v1.2.3