File tree Expand file tree Collapse file tree 2 files changed +1
-1
lines changed
Expand file tree Collapse file tree 2 files changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -736,6 +736,7 @@ impl Options {
736736 let extern_html_root_takes_precedence =
737737 matches. opt_present ( "extern-html-root-takes-precedence" ) ;
738738 let html_no_source = matches. opt_present ( "html-no-source" ) ;
739+
739740 if generate_link_to_definition && ( show_coverage || output_format != OutputFormat :: Html ) {
740741 dcx. fatal (
741742 "--generate-link-to-definition option can only be used with HTML output format" ,
Original file line number Diff line number Diff line change @@ -725,7 +725,6 @@ impl<'tcx> FormatRenderer<'tcx> for Context<'tcx> {
725725 ) ;
726726 shared. fs . write ( help_file, v) ?;
727727
728- // if to avoid writing files to doc root unless we're on the final invocation
729728 if shared. layout . scrape_examples_extension {
730729 page. title = "About scraped examples" ;
731730 page. description = "How the scraped examples feature works in Rustdoc" ;
You can’t perform that action at this time.
0 commit comments