diff options
Diffstat (limited to 'examples/basic.rs')
-rw-r--r-- | examples/basic.rs | 34 |
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(); |