Rewrite Into<PathBuf> for StoreId
This commit is contained in:
parent
6841b7c340
commit
fb1df533c5
1 changed files with 3 additions and 1 deletions
|
@ -40,7 +40,9 @@ impl StoreId {
|
||||||
impl Into<PathBuf> for StoreId {
|
impl Into<PathBuf> for StoreId {
|
||||||
|
|
||||||
fn into(self) -> PathBuf {
|
fn into(self) -> PathBuf {
|
||||||
self.0
|
let mut base = self.store_location;
|
||||||
|
base.push(self.id);
|
||||||
|
base
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue