Remove Into<PathBuf> for StoreId

This commit is contained in:
Matthias Beyer 2016-09-05 16:22:49 +02:00
parent 4456c4240e
commit 84b279de95

View file

@ -103,16 +103,6 @@ impl StoreId {
}
impl Into<PathBuf> for StoreId {
fn into(self) -> PathBuf {
let mut base = self.base.unwrap_or(PathBuf::from("/"));
base.push(self.id);
base
}
}
impl Display for StoreId {
fn fmt(&self, fmt: &mut Formatter) -> RResult<(), FmtError> {