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 @@ -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" ,
Original file line number Diff line number Diff line change @@ -726,7 +726,6 @@ impl<'tcx> FormatRenderer<'tcx> for Context<'tcx> {
726726 ) ;
727727 shared. fs. write( help_file, v) ?;
728728
729- // if to avoid writing files to doc root unless we're on the final invocation
730729 if shared. layout. scrape_examples_extension {
731730 page. title = "About scraped examples" ;
732731 page. description = "How the scraped examples feature works in Rustdoc" ;
You can’t perform that action at this time.
0 commit comments