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);