Fixup Into<str> for Path

This commit is contained in:
Matthias Beyer 2015-12-27 17:44:43 +01:00
parent 312bcf9703
commit 3273e77d24
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ impl<'a> Path<'a> {
impl<'a> Into<&'a str> for Path<'a> {
fn into(self) -> &'a str {
let s = self.base.clone();
let mut s = self.base.clone();
s.push(self.store.clone());
s.push(self.module.name());
if self.id.is_some() {