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> {
534534 if !root_path. ends_with ( '/' ) {
535535 root_path. push ( '/' ) ;
536536 }
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" ) ) ;
542537 let mut page = layout:: Page {
543538 title : "List of all items in this crate" ,
544539 css_class : "mod" ,
545540 root_path : "../" ,
546541 static_root_path : self . shared . static_root_path . as_deref ( ) ,
547- description : description . as_str ( ) ,
542+ description : "List of all items in this crate" ,
548543 keywords : BASIC_KEYWORDS ,
549544 resource_suffix : & self . shared . resource_suffix ,
550545 extra_scripts : & [ ] ,
You can’t perform that action at this time.
0 commit comments