summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorPierre-Henri Symoneaux <pierre.henri.symoneaux@gmail.com>2018-09-21 15:32:59 +0200
committerPierre-Henri Symoneaux <pierre.henri.symoneaux@gmail.com>2018-09-21 15:32:59 +0200
commitdee6df4f336bc82247031f5576bb8d78eb773190 (patch)
tree0e5529944ba9e3bf206d1bb28c1e5a1c12b03c23 /examples
parenta1440b5dbb6db5ff6dcdd5a6e4eb27fd5d44ab87 (diff)
cell and row mods become private. Row and Cell are reexported in crate's root
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};