diff options
Diffstat (limited to 'examples/formatting.rs')
-rw-r--r-- | examples/formatting.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/formatting.rs b/examples/formatting.rs index 964cff7..7822866 100644 --- a/examples/formatting.rs +++ b/examples/formatting.rs @@ -64,16 +64,16 @@ fn main() { // Customized format with unicode // Example to print // ┌─────────────┬────────────┐ - // | Title 1 | Title 2 | + // │ Title 1 │ Title 2 │ // ├─────────────┼────────────┤ - // | Value 1 | Value 2 | + // │ Value 1 │ Value 2 │ // ├─────────────┼────────────┤ - // | Value three | Value four | + // │ Value three │ Value four │ // └─────────────┴────────────┘ println!("With unicode:"); table.set_format(format::FormatBuilder::new() - .column_separator('|') - .borders('|') + .column_separator('│') + .borders('│') .separators(&[format::LinePosition::Top], format::LineSeparator::new('─', '┬', '┌', '┐')) .separators(&[format::LinePosition::Intern], |