add blank line, remove extraneous comment

This commit is contained in:
EtomicBomb 2024-07-25 00:05:32 +00:00
parent 9ebe5ae306
commit f1a996c39b
2 changed files with 1 additions and 1 deletions

View file

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

View file

@ -722,7 +722,6 @@ impl<'tcx> FormatRenderer<'tcx> for Context<'tcx> {
);
shared.fs.write(help_file, v)?;
// if to avoid writing files to doc root unless we're on the final invocation
if shared.layout.scrape_examples_extension {
page.title = "About scraped examples";
page.description = "How the scraped examples feature works in Rustdoc";