Fixup Into<str> for Path
This commit is contained in:
parent
312bcf9703
commit
3273e77d24
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue