summaryrefslogtreecommitdiffstats
path: root/examples/basic.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/basic.rs')
-rw-r--r--examples/basic.rs34
1 files changed, 17 insertions, 17 deletions
diff --git a/examples/basic.rs b/examples/basic.rs
index 4ca5d39..fe397d8 100644
--- a/examples/basic.rs
+++ b/examples/basic.rs
@@ -4,23 +4,23 @@ use prettytable::Table;
use prettytable::row::Row;
use prettytable::cell::Cell;
-/*
- Following main function will print :
- +---------+------+---------+
- | ABC | DEFG | HIJKLMN |
- +---------+------+---------+
- | foobar | bar | foo |
- +---------+------+---------+
- | foobar2 | bar2 | foo2 |
- +---------+------+---------+
- Modified :
- +---------+------+---------+
- | ABC | DEFG | HIJKLMN |
- +---------+------+---------+
- | foobar | bar | foo |
- +---------+------+---------+
- | foobar2 | bar2 | new_foo |
- +---------+------+---------+
+/*
+ Following main function will print :
+ +---------+------+---------+
+ | ABC | DEFG | HIJKLMN |
+ +---------+------+---------+
+ | foobar | bar | foo |
+ +---------+------+---------+
+ | foobar2 | bar2 | foo2 |
+ +---------+------+---------+
+ Modified :
+ +---------+------+---------+
+ | ABC | DEFG | HIJKLMN |
+ +---------+------+---------+
+ | foobar | bar | foo |
+ +---------+------+---------+
+ | foobar2 | bar2 | new_foo |
+ +---------+------+---------+
*/
fn main() {
let mut table = Table::new();