We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1bedd4d commit bcef5e7Copy full SHA for bcef5e7
src/librustdoc/html/render/mod.rs
@@ -534,17 +534,12 @@ impl<'tcx> FormatRenderer<'tcx> for Context<'tcx> {
534
if !root_path.ends_with('/') {
535
root_path.push('/');
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
let mut page = layout::Page {
543
title: "List of all items in this crate",
544
css_class: "mod",
545
root_path: "../",
546
static_root_path: self.shared.static_root_path.as_deref(),
547
- description: description.as_str(),
+ description: "List of all items in this crate",
548
keywords: BASIC_KEYWORDS,
549
resource_suffix: &self.shared.resource_suffix,
550
extra_scripts: &[],
0 commit comments