Remove unnecessary to_string() call.
This commit is contained in:
parent
4ad677e5b6
commit
7aa2735393
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ pub fn path_to_string<PI: Iterator<Item=PathElem>>(path: PI) -> String {
|
|||
}
|
||||
s.push_str(&e[]);
|
||||
s
|
||||
}).to_string()
|
||||
})
|
||||
}
|
||||
|
||||
#[derive(Copy, Show)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue