summaryrefslogtreecommitdiffstats
path: root/examples/slices.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/slices.rs')
-rw-r--r--examples/slices.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/examples/slices.rs b/examples/slices.rs
index e66ba36..9130718 100644
--- a/examples/slices.rs
+++ b/examples/slices.rs
@@ -1,7 +1,4 @@
-#[macro_use]
-extern crate prettytable;
-
-use prettytable::Slice;
+use prettytable::{Slice, table, row};
fn main() {
let mut table = table![[0, 0, 0], [1, 1, 1], [2, 2, 2], [3, 3, 3], [4, 4, 4], [5, 5, 5]];