diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2017-09-27 21:19:33 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2017-09-27 21:19:33 +0200 |
commit | a4c330a9133d11b6bc860cbc9c9ec38fc91c220c (patch) | |
tree | 5d48a2dec6c4ff5b20513a5380f931d752b67236 | |
parent | 211fa5a91930fcdeec11da5055e53b645139b432 (diff) |
Remove unused imports
-rw-r--r-- | src/timetype.rs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/timetype.rs b/src/timetype.rs index 0d2081b..8ac3245 100644 --- a/src/timetype.rs +++ b/src/timetype.rs @@ -14,7 +14,6 @@ use std::ops::SubAssign; use result::Result; use error::KairosErrorKind as KEK; use error::KairosError as KE; -use error_chain::ChainedError; use indicator::{Day, Month}; use util::*; @@ -1132,11 +1131,8 @@ fn sub_from_moment(mom: NaiveDateTime, tt: TimeType) -> Result<TimeType> { #[cfg(test)] mod tests { use chrono::NaiveDate; - use super::TimeType as TT; - use error::KairosErrorKind as KEK; - #[test] fn test_addition_of_seconds() { let a = TT::seconds(0); @@ -1990,8 +1986,6 @@ mod moment_plus_amount_tests { use env_logger; use super::TimeType as TT; use chrono::NaiveDate; - use chrono::Timelike; - use chrono::Datelike; macro_rules! generate_test_moment_operator_amount{ { @@ -2451,8 +2445,6 @@ mod test_time_adjustments { mod test_end_of_year { use super::TimeType as TT; use chrono::NaiveDate; - use chrono::Timelike; - use chrono::Datelike; macro_rules! generate_test_moment_operator_amount_and_end_of_year { { @@ -2671,8 +2663,6 @@ mod test_end_of_year { mod test_end_of_month { use super::TimeType as TT; use chrono::NaiveDate; - use chrono::Timelike; - use chrono::Datelike; macro_rules! generate_test_moment_operator_amount_and_end_of_month { { @@ -2892,8 +2882,6 @@ mod test_end_of_month { mod test_end_of_day { use super::TimeType as TT; use chrono::NaiveDate; - use chrono::Timelike; - use chrono::Datelike; macro_rules! generate_test_moment_operator_amount_and_end_of_day { { @@ -3112,8 +3100,6 @@ mod test_end_of_day { mod test_end_of_hour { use super::TimeType as TT; use chrono::NaiveDate; - use chrono::Timelike; - use chrono::Datelike; macro_rules! generate_test_moment_operator_amount_and_end_of_hour { { @@ -3332,8 +3318,6 @@ mod test_end_of_hour { mod test_end_of_minute { use super::TimeType as TT; use chrono::NaiveDate; - use chrono::Timelike; - use chrono::Datelike; macro_rules! generate_test_moment_operator_amount_and_end_of_minute { { |