1
Fork 0

Replace usage of String::from_str with String:from

This commit is contained in:
Simon Sapin 2015-06-08 16:55:35 +02:00
parent 2ff42435c2
commit c160192f5f
29 changed files with 105 additions and 106 deletions

View file

@ -817,7 +817,7 @@ impl<'a> SourceCollector<'a> {
// Create the intermediate directories
let mut cur = self.dst.clone();
let mut root_path = String::from_str("../../");
let mut root_path = String::from("../../");
clean_srcpath(&self.cx.src_root, &p, false, |component| {
cur.push(component);
mkdir(&cur).unwrap();