Implement Debug for StoreIdIterator

This commit is contained in:
Matthias Beyer 2016-04-18 18:40:59 +02:00
parent b909fea45b
commit fd9dee7dea
1 changed files with 11 additions and 0 deletions

View File

@ -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 {