summaryrefslogtreecommitdiffstats
path: root/examples/formatting.rs
diff options
context:
space:
mode:
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"]);