Auto merge of #26077 - SimonSapin:patch-6, r=alexcrichton
With the latter is provided by the `From` conversion trait, the former is now completely redundant. Their code is identical. Let’s deprecate now and plan to remove in the next cycle. (It’s `#[unstable]`.) r? @alexcrichton CC @nagisa
This commit is contained in:
commit
02c33b690b
29 changed files with 107 additions and 108 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue