summaryrefslogtreecommitdiffstats
path: root/src/cell.rs
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 /src/cell.rs
parenta1440b5dbb6db5ff6dcdd5a6e4eb27fd5d44ab87 (diff)
cell and row mods become private. Row and Cell are reexported in crate's root
Diffstat (limited to 'src/cell.rs')
-rw-r--r--src/cell.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cell.rs b/src/cell.rs
index 1a3461d..bc25cec 100644
--- a/src/cell.rs
+++ b/src/cell.rs
@@ -308,10 +308,10 @@ impl Default for Cell {
#[macro_export]
macro_rules! cell {
() => {
- $crate::cell::Cell::default()
+ $crate::Cell::default()
};
($value:expr) => {
- $crate::cell::Cell::new(&$value.to_string())
+ $crate::Cell::new(&$value.to_string())
};
($style:ident -> $value:expr) => {
cell!($value).style_spec(stringify!($style))
@@ -320,7 +320,7 @@ macro_rules! cell {
#[cfg(test)]
mod tests {
- use cell::Cell;
+ use Cell;
use format::Alignment;
use term::{color, Attr};
use utils::StringWriter;