Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jyn514 committed Mar 9, 2020
1 parent 2761acb commit ff96849
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/docbuilder/metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,5 @@ mod test {
assert_eq!(default, "i686-apple-darwin");
let tier_one_targets_no_default: Vec<_> = TARGETS.iter().filter(|&&t| t != "i686-apple-darwin").copied().collect();
assert_eq!(others, tier_one_targets_no_default);

}
}
2 changes: 1 addition & 1 deletion src/docbuilder/rustwide_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ impl RustwideBuilder {
// However, if this is the default build, we don't want it there,
// we want it in `target/doc`.
if target != HOST_TARGET && is_default_target {
// mv target/target/doc target/doc
// mv target/$target/doc target/doc
let target_dir = build.host_target_dir();
let old_dir = target_dir.join(target).join("doc");
let new_dir = target_dir.join("doc");
Expand Down

0 comments on commit ff96849

Please sign in to comment.