diff options
author | Pierre-Henri Symoneaux <pierre-henri.symoneaux@nokia.com> | 2017-05-29 22:37:52 +0200 |
---|---|---|
committer | Pierre-Henri Symoneaux <pierre-henri.symoneaux@nokia.com> | 2017-05-29 22:46:19 +0200 |
commit | 3356ea2da7471ff29241d679aa3147c9d42fd175 (patch) | |
tree | fa1d7cc0d0e2c59cb481f1b21769c5630bc6cd69 /examples/multiline.rs | |
parent | 43fe7364cb7ac6898cb2262bacc78db04f3b7108 (diff) |
Added category "command-line-interface" to Cargo.toml
Diffstat (limited to 'examples/multiline.rs')
-rw-r--r-- | examples/multiline.rs | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/examples/multiline.rs b/examples/multiline.rs index e633531..a453255 100644 --- a/examples/multiline.rs +++ b/examples/multiline.rs @@ -1,23 +1,23 @@ #[macro_use] extern crate prettytable; -/*
- Following main function will print :
- +-------------------------+------------------------------+
- | Title 1 | Title 2 |
- +-------------------------+------------------------------+
- | This is | foo |
- | a multiline | |
- | cell | |
- +-------------------------+------------------------------+
- | Yo dawg ;) You can even | +---------+------+---------+ |
- | print tables | | ABC | DEFG | HIJKLMN | |
- | into tables | +---------+------+---------+ |
- | | | foobar | bar | foo | |
- | | +---------+------+---------+ |
- | | | foobar2 | bar2 | foo2 | |
- | | +---------+------+---------+ |
- +-------------------------+------------------------------+
+/* + Following main function will print : + +-------------------------+------------------------------+ + | Title 1 | Title 2 | + +-------------------------+------------------------------+ + | This is | foo | + | a multiline | | + | cell | | + +-------------------------+------------------------------+ + | Yo dawg ;) You can even | +---------+------+---------+ | + | print tables | | ABC | DEFG | HIJKLMN | | + | into tables | +---------+------+---------+ | + | | | foobar | bar | foo | | + | | +---------+------+---------+ | + | | | foobar2 | bar2 | foo2 | | + | | +---------+------+---------+ | + +-------------------------+------------------------------+ */ fn main() { let table1 = table!(["ABC", "DEFG", "HIJKLMN"], |