summaryrefslogtreecommitdiffstats
path: root/examples/multiline.rs
diff options
context:
space:
mode:
authorpierresy <pierre-henri.symoneaux@alcatel-lucent.com>2015-06-01 00:21:08 +0200
committerpierresy <pierre-henri.symoneaux@alcatel-lucent.com>2015-06-01 00:21:08 +0200
commit3fe16260a41dc1cf35fbb01d3d05bc4171e9144e (patch)
treeb24ffdcbf782a8c3200aa32edc3d8243f1fb888b /examples/multiline.rs
parenta20386b277204e4e8b38fc75a9242ff06f5b7904 (diff)
Fixed typos
Diffstat (limited to 'examples/multiline.rs')
-rw-r--r--examples/multiline.rs32
1 files changed, 16 insertions, 16 deletions
diff --git a/examples/multiline.rs b/examples/multiline.rs
index 93b49fb..b4955bd 100644
--- a/examples/multiline.rs
+++ b/examples/multiline.rs
@@ -2,21 +2,21 @@
/*
Following main function will print :
- +--------------------------+------------------------------+
- | Title 1 | Title 2 |
- +--------------------------+------------------------------+
- | This is | foo |
- | a multiline | |
- | cell | |
- +--------------------------+------------------------------+
- | You dawg ;) You can even | +---------+------+---------+ |
- | print tables | | ABC | DEFG | HIJKLMN | |
- | into tables | +---------+------+---------+ |
- | | | foobar | bar | foo | |
- | | +---------+------+---------+ |
- | | | foobar2 | bar2 | foo2 | |
- | | +---------+------+---------+ |
- +--------------------------+------------------------------+
+ +-------------------------+------------------------------+
+ | 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"],
@@ -25,7 +25,7 @@ fn main() {
);
let table2 = table!(["Title 1", "Title 2"],
["This is\na multiline\ncell", "foo"],
- ["You dawg ;) You can even\nprint tables\ninto tables", table1]
+ ["Yo dawg ;) You can even\nprint tables\ninto tables", table1]
);
table2.printstd();
}