summaryrefslogtreecommitdiffstats
path: root/examples/formatting.rs
diff options
context:
space:
mode:
authorPierre-Henri Symoneaux <phsym@users.noreply.github.com>2019-08-25 13:25:42 +0200
committerGitHub <noreply@github.com>2019-08-25 13:25:42 +0200
commitd5f0296b2bb5c7c6c3b6347808e6bf37c3264766 (patch)
treea6fb13fdc05a94684fee9859c3355d478852ba3d /examples/formatting.rs
parentfadaa64ec513177feeb858b0977b4c18899b4961 (diff)
parentffd151ab6ffa7581cae43b2a59cd5c94d406d862 (diff)
Merge pull request #112 from phsym/ed-2018
Updated to rust 2018 edition
Diffstat (limited to 'examples/formatting.rs')
-rw-r--r--examples/formatting.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/formatting.rs b/examples/formatting.rs
index 7822866..e6e9aa0 100644
--- a/examples/formatting.rs
+++ b/examples/formatting.rs
@@ -1,6 +1,4 @@
-#[macro_use]
-extern crate prettytable;
-use prettytable::format;
+use prettytable::{format, table, row};
fn main() {
let mut table = table!(["Value 1", "Value 2"], ["Value three", "Value four"]);