From 97287a0b0b97efd2a1e4a30e57eb3ed712043438 Mon Sep 17 00:00:00 2001 From: Alexandre Bury Date: Tue, 10 Jan 2017 17:48:47 -0800 Subject: [PATCH] Remove unused imports --- src/vec.rs | 1 - src/views/progress_bar.rs | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) 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)]