diff --git a/libimagstore/src/storeid.rs b/libimagstore/src/storeid.rs index 35c3c0f8..7c5940c1 100644 --- a/libimagstore/src/storeid.rs +++ b/libimagstore/src/storeid.rs @@ -1,6 +1,9 @@ use std::path::PathBuf; use glob::Paths; use semver::Version; +use std::fmt::{Debug, Formatter}; +use std::fmt::Error as FmtError; +use std::result::Result as RResult; use error::{StoreError, StoreErrorKind}; use store::Result; @@ -94,6 +97,14 @@ pub struct StoreIdIterator { paths: Paths, } +impl Debug for StoreIdIterator { + + fn fmt(&self, fmt: &mut Formatter) -> RResult<(), FmtError> { + write!(fmt, "StoreIdIterator") + } + +} + impl StoreIdIterator { pub fn new(paths: Paths) -> StoreIdIterator {