File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
src/librustdoc/html/render Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -534,17 +534,12 @@ impl<'tcx> FormatRenderer<'tcx> for Context<'tcx> {
534
534
if !root_path. ends_with ( '/' ) {
535
535
root_path. push ( '/' ) ;
536
536
}
537
- let description = krate
538
- . module
539
- . as_ref ( )
540
- . and_then ( |item| Some ( plain_text_summary ( item. doc_value ( ) ?. as_str ( ) ) ) )
541
- . unwrap_or_else ( || String :: from ( "List of all items in this crate" ) ) ;
542
537
let mut page = layout:: Page {
543
538
title : "List of all items in this crate" ,
544
539
css_class : "mod" ,
545
540
root_path : "../" ,
546
541
static_root_path : self . shared . static_root_path . as_deref ( ) ,
547
- description : description . as_str ( ) ,
542
+ description : "List of all items in this crate" ,
548
543
keywords : BASIC_KEYWORDS ,
549
544
resource_suffix : & self . shared . resource_suffix ,
550
545
extra_scripts : & [ ] ,
You can’t perform that action at this time.
0 commit comments