Skip to content

Commit f1a996c

Browse files
committed
add blank line, remove extraneous comment
1 parent 9ebe5ae commit f1a996c

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/librustdoc/config.rs

+1
Original file line numberDiff line numberDiff line change
@@ -730,6 +730,7 @@ impl Options {
730730
let extern_html_root_takes_precedence =
731731
matches.opt_present("extern-html-root-takes-precedence");
732732
let html_no_source = matches.opt_present("html-no-source");
733+
733734
if generate_link_to_definition && (show_coverage || output_format != OutputFormat::Html) {
734735
dcx.fatal(
735736
"--generate-link-to-definition option can only be used with HTML output format",

src/librustdoc/html/render/context.rs

-1
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,6 @@ impl<'tcx> FormatRenderer<'tcx> for Context<'tcx> {
722722
);
723723
shared.fs.write(help_file, v)?;
724724

725-
// if to avoid writing files to doc root unless we're on the final invocation
726725
if shared.layout.scrape_examples_extension {
727726
page.title = "About scraped examples";
728727
page.description = "How the scraped examples feature works in Rustdoc";

0 commit comments

Comments
 (0)