diff --git a/libimagstore/src/error.rs b/libimagstore/src/error.rs index 8a2d56d8..9d612475 100644 --- a/libimagstore/src/error.rs +++ b/libimagstore/src/error.rs @@ -1,12 +1,8 @@ use std::error::Error; -use std::fmt::Debug; use std::fmt::Display; use std::fmt::Formatter; use std::fmt::Error as FmtError; use std::clone::Clone; -use std::convert::From; - -use std::io::Error as IOError; #[derive(Clone, Copy, Debug)] pub enum StoreErrorKind { diff --git a/libimagstore/src/store.rs b/libimagstore/src/store.rs index be24754c..5d9e3fbe 100644 --- a/libimagstore/src/store.rs +++ b/libimagstore/src/store.rs @@ -4,7 +4,7 @@ use std::ops::Drop; use std::path::PathBuf; use std::result::Result as RResult; use std::sync::Arc; -use std::sync::{RwLock, Mutex}; +use std::sync::RwLock; use fs2::FileExt;