Skip to content

Commit 3a0caed

Browse files
committed
fix another nesting issue
1 parent 02ae14c commit 3a0caed

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/bootstrap/doc.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -566,10 +566,6 @@ fn doc_std(
566566

567567
let compiler = builder.compiler(stage, builder.config.build);
568568

569-
let description =
570-
format!("library{} in {} format", crate_description(&requested_crates), format.as_str());
571-
let _guard = builder.msg_doc(compiler, &description, target);
572-
573569
let target_doc_dir_name = if format == DocumentationFormat::JSON { "json-doc" } else { "doc" };
574570
let target_dir =
575571
builder.stage_out(compiler, Mode::Std).join(target.triple).join(target_doc_dir_name);
@@ -606,6 +602,10 @@ fn doc_std(
606602
cargo.arg("-p").arg(krate);
607603
}
608604

605+
let description =
606+
format!("library{} in {} format", crate_description(&requested_crates), format.as_str());
607+
let _guard = builder.msg_doc(compiler, &description, target);
608+
609609
builder.run(&mut cargo.into());
610610
builder.cp_r(&out_dir, &out);
611611
}

0 commit comments

Comments
 (0)