Fixup Into<str> for Path
This commit is contained in:
parent
312bcf9703
commit
3273e77d24
|
@ -84,7 +84,7 @@ impl<'a> Path<'a> {
|
||||||
impl<'a> Into<&'a str> for Path<'a> {
|
impl<'a> Into<&'a str> for Path<'a> {
|
||||||
|
|
||||||
fn into(self) -> &'a str {
|
fn into(self) -> &'a str {
|
||||||
let s = self.base.clone();
|
let mut s = self.base.clone();
|
||||||
s.push(self.store.clone());
|
s.push(self.store.clone());
|
||||||
s.push(self.module.name());
|
s.push(self.module.name());
|
||||||
if self.id.is_some() {
|
if self.id.is_some() {
|
||||||
|
|
Loading…
Reference in New Issue