Implement Debug for StoreIdIterator
This commit is contained in:
parent
b909fea45b
commit
fd9dee7dea
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue