From 01bd02041998d01affcb8b61fcf157336bc7976a Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 4 Jan 2018 19:35:35 +0100 Subject: [PATCH] Remove unused imports --- lib/etc/libimagnotification/src/lib.rs | 2 +- lib/etc/libimagnotification/src/notificator.rs | 1 - lib/etc/libimagnotification/src/result_notification.rs | 2 -- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/etc/libimagnotification/src/lib.rs b/lib/etc/libimagnotification/src/lib.rs index 6e1f27f1..5999fbc4 100644 --- a/lib/etc/libimagnotification/src/lib.rs +++ b/lib/etc/libimagnotification/src/lib.rs @@ -20,7 +20,7 @@ extern crate notify_rust; #[macro_use] extern crate error_chain; -#[macro_use] extern crate libimagerror; +extern crate libimagerror; pub mod error; pub mod notificator; diff --git a/lib/etc/libimagnotification/src/notificator.rs b/lib/etc/libimagnotification/src/notificator.rs index 5772ff0d..c725b65c 100644 --- a/lib/etc/libimagnotification/src/notificator.rs +++ b/lib/etc/libimagnotification/src/notificator.rs @@ -18,7 +18,6 @@ // use error::Result; -use error::ResultExt; /// A Notificator provides a function that can be called to notify about a certain object. /// diff --git a/lib/etc/libimagnotification/src/result_notification.rs b/lib/etc/libimagnotification/src/result_notification.rs index b458f767..2f4e9ea9 100644 --- a/lib/etc/libimagnotification/src/result_notification.rs +++ b/lib/etc/libimagnotification/src/result_notification.rs @@ -105,9 +105,7 @@ pub mod ok { use notificator::default::Notification; use notificator::Notificator; - use error::NotificationErrorKind as NEK; use error::Result; - use error::ResultExt; #[derive(Debug, Default, Clone)] pub struct OkNotification(Notification);