Skip to content

Commit c59660c

Browse files
Do not call dry_run twice
Co-authored-by: Onur Özkan <[email protected]>
1 parent 29f5d2c commit c59660c

File tree

1 file changed

+1
-2
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+1
-2
lines changed

src/bootstrap/src/core/build_steps/doc.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -445,8 +445,7 @@ impl Step for Releases {
445445
|| !up_to_date(&footer, &html)
446446
|| !up_to_date(&favicon, &html)
447447
|| !up_to_date(&full_toc, &html)
448-
|| !(builder.config.dry_run() || up_to_date(&version_info, &html))
449-
|| !(builder.config.dry_run() || up_to_date(&rustdoc, &html))
448+
|| !(builder.config.dry_run() || up_to_date(&version_info, &html) || up_to_date(&rustdoc, &html))
450449
{
451450
let mut tmpfile = t!(fs::File::create(&tmppath));
452451
t!(tmpfile.write_all(b"% Rust Release Notes\n\n"));

0 commit comments

Comments
 (0)