summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorPierre-Henri Symoneaux <phsym@users.noreply.github.com>2018-09-21 16:31:01 +0200
committerGitHub <noreply@github.com>2018-09-21 16:31:01 +0200
commit029141636d41f850e0ecf9e63992cf97e64d86ed (patch)
tree0e5529944ba9e3bf206d1bb28c1e5a1c12b03c23 /examples
parent18ffe509afb3009de667a8e287e6cfc8555c5c79 (diff)
parentdee6df4f336bc82247031f5576bb8d78eb773190 (diff)
Merge pull request #89 from phsym/refactor_mods
Refactored modules and reexports
Diffstat (limited to 'examples')
-rw-r--r--examples/basic.rs4
-rw-r--r--examples/span.rs2
-rw-r--r--examples/style.rs4
3 files changed, 3 insertions, 7 deletions
diff --git a/examples/basic.rs b/examples/basic.rs
index fe397d8..1e5cf35 100644
--- a/examples/basic.rs
+++ b/examples/basic.rs
@@ -1,8 +1,6 @@
#[macro_use]
extern crate prettytable;
-use prettytable::Table;
-use prettytable::row::Row;
-use prettytable::cell::Cell;
+use prettytable::{Table, Row, Cell};
/*
Following main function will print :
diff --git a/examples/span.rs b/examples/span.rs
index 61e1815..10f1ef7 100644
--- a/examples/span.rs
+++ b/examples/span.rs
@@ -1,6 +1,6 @@
#[macro_use]
extern crate prettytable;
-use prettytable::{row::Row, cell::Cell, format::Alignment};
+use prettytable::{Row, Cell, format::Alignment};
fn main() {
diff --git a/examples/style.rs b/examples/style.rs
index b7cef57..1d93e07 100644
--- a/examples/style.rs
+++ b/examples/style.rs
@@ -1,8 +1,6 @@
#[macro_use]
extern crate prettytable;
-use prettytable::Table;
-use prettytable::row::Row;
-use prettytable::cell::Cell;
+use prettytable::{Table, Row, Cell};
use prettytable::{Attr, color};