diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2016-10-15 16:11:39 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2016-10-15 16:12:11 +0200 |
commit | 44f78ae50a71be38d2591d10370e5826b25bf0aa (patch) | |
tree | 77cb41b73ee0ecadbdabb8f997569c1a2fa2e2c5 /libimagstorestdhook | |
parent | 80bb0d99c9787c48ed508b3b761fb99f664a4478 (diff) |
Remove unused imports
Diffstat (limited to 'libimagstorestdhook')
-rw-r--r-- | libimagstorestdhook/src/denylinkeddelete.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libimagstorestdhook/src/denylinkeddelete.rs b/libimagstorestdhook/src/denylinkeddelete.rs index f06c5f8e..6a24647e 100644 --- a/libimagstorestdhook/src/denylinkeddelete.rs +++ b/libimagstorestdhook/src/denylinkeddelete.rs @@ -17,8 +17,6 @@ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA // -use std::path::PathBuf; - use toml::Value; use libimagstore::hook::Hook; @@ -29,7 +27,6 @@ use libimagstore::hook::accessor::NonMutableHookDataAccessor; use libimagstore::hook::result::HookResult; use libimagstore::store::FileLockEntry; use libimagentrylink::internal::InternalLinker; -use libimagerror::trace::trace_error; mod error { @@ -38,9 +35,7 @@ mod error { LinksLeft => "The entry has links and therefor cannot be deleted." ); } -use self::error::NoLinksLeftCheckerHookError as NLLCHE; use self::error::NoLinksLeftCheckerHookErrorKind as NLLCHEK; -use self::error::MapErrInto; #[derive(Debug, Clone)] pub struct DenyDeletionOfLinkedEntriesHook { @@ -95,7 +90,6 @@ impl NonMutableHookDataAccessor for DenyDeletionOfLinkedEntriesHook { use libimagutil::debug_result::*; use libimagerror::trace::MapErrTrace; use libimagerror::into::IntoError; - use libimagstore::hook::error::MapErrInto; debug!("[NO LINKS LEFT CHECKER HOOK] {:?}", fle.get_location()); |