summaryrefslogtreecommitdiffstats
path: root/examples/basic.rs
diff options
context:
space:
mode:
authorPierre-Henri Symoneaux <pierre.henri.symoneaux@gmail.com>2019-08-25 12:52:52 +0200
committerPierre-Henri Symoneaux <pierre.henri.symoneaux@gmail.com>2019-08-25 12:52:52 +0200
commitfb2f5853ad9823a6aa8018a2e5d5b96f9b34dbd5 (patch)
tree6ca242cd1e69284c06a3be21cbab4ddc2a3b204a /examples/basic.rs
parentfadaa64ec513177feeb858b0977b4c18899b4961 (diff)
Updated to rust 2018
Diffstat (limited to 'examples/basic.rs')
-rw-r--r--examples/basic.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/basic.rs b/examples/basic.rs
index 1e5cf35..0bbab1f 100644
--- a/examples/basic.rs
+++ b/examples/basic.rs
@@ -1,6 +1,4 @@
-#[macro_use]
-extern crate prettytable;
-use prettytable::{Table, Row, Cell};
+use prettytable::{Table, Row, Cell, row, table, ptable};
/*
Following main function will print :