diff --git a/src/vec.rs b/src/vec.rs index bd17bb3..be4c894 100644 --- a/src/vec.rs +++ b/src/vec.rs @@ -1,7 +1,6 @@ //! Points on the 2D character grid. use XY; -use direction::Orientation; use num::traits::Zero; use std::cmp::{Ordering, max, min}; diff --git a/src/views/progress_bar.rs b/src/views/progress_bar.rs index 8905efa..fb53cf4 100644 --- a/src/views/progress_bar.rs +++ b/src/views/progress_bar.rs @@ -1,6 +1,6 @@ -use {Cursive, Printer}; +use Printer; use align::HAlign; use std::cmp; use std::sync::Arc; @@ -10,7 +10,7 @@ use std::thread; use theme::{ColorStyle, Effect}; use view::View; -pub type CbPromise = Option>; +// pub type CbPromise = Option>; /// Atomic counter used by `ProgressBar`. #[derive(Clone)]