summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorpierresy <pierre-henri.symoneaux@alcatel-lucent.com>2016-01-17 20:04:52 +0100
committerpierresy <pierre-henri.symoneaux@alcatel-lucent.com>2016-01-17 20:04:52 +0100
commitb30d68a90312081f9a09d5ef84c957571b7f2a13 (patch)
tree2979893fe0f9ec509bcee4473ee7cb9ecf338667 /examples
parent45d77e82ab32622a2b06264ae660bd73edc6731d (diff)
Removed some deprecated methods
Diffstat (limited to 'examples')
-rw-r--r--examples/style.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/style.rs b/examples/style.rs
index ca608c6..94e75ce 100644
--- a/examples/style.rs
+++ b/examples/style.rs
@@ -25,11 +25,11 @@ fn main() {
);
table.printstd();
-
+
// Print a table with some styles on it :
// FrBybl means : Foregound red, Background yellow, bold, left align
ptable!([FrBybl:"A", "B", FrBybr:"C"], [123, 234, 345, 456], [Fg -> 1, 2, 3]);
-
+
// You can also apply style to full rows :
let mut table = table!([Frb -> "A", "B", "C"], [1, 2, 3, 4], ["A\nBCCZZZ\nDDD", 2, table]);
// Set a title line, with all text centered in the cell