summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/basic.rs6
1 files changed, 6 insertions, 0 deletions
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"]
+ );
}