Skip to content

Commit

Permalink
rustbuild: Fix a typo with the Cargo book
Browse files Browse the repository at this point in the history
The usage of `Path::new` prevented out-of-tree builds (like the bots do) from
working by accident!

Closes rust-lang#46195
  • Loading branch information
alexcrichton committed Nov 29, 2017
1 parent 0a2e9ad commit 326eb79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/doc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ impl Step for CargoBook {

let target = self.target;
let name = self.name;
let src = PathBuf::from("src/tools/cargo/src/doc/book");
let src = build.src.join("src/tools/cargo/src/doc/book");

let out = build.doc_out(target);
t!(fs::create_dir_all(&out));
Expand Down

0 comments on commit 326eb79

Please sign in to comment.