Rewrite Into<PathBuf> for StoreId

This commit is contained in:
Matthias Beyer 2016-08-07 16:46:21 +02:00
parent 6841b7c340
commit fb1df533c5

View file

@ -40,7 +40,9 @@ impl StoreId {
impl Into<PathBuf> for StoreId {
fn into(self) -> PathBuf {
self.0
let mut base = self.store_location;
base.push(self.id);
base
}
}