Remove Into<PathBuf> for StoreId
This commit is contained in:
parent
4456c4240e
commit
84b279de95
1 changed files with 0 additions and 10 deletions
|
@ -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 {
|
impl Display for StoreId {
|
||||||
|
|
||||||
fn fmt(&self, fmt: &mut Formatter) -> RResult<(), FmtError> {
|
fn fmt(&self, fmt: &mut Formatter) -> RResult<(), FmtError> {
|
||||||
|
|
Loading…
Reference in a new issue