Revert changes to all.html
This code wasn't actually working, and trying to SEO optimize that page is pointless anyway.
This commit is contained in:
parent
1bedd4d678
commit
bcef5e7077
1 changed files with 1 additions and 6 deletions
|
@ -534,17 +534,12 @@ impl<'tcx> FormatRenderer<'tcx> for Context<'tcx> {
|
|||
if !root_path.ends_with('/') {
|
||||
root_path.push('/');
|
||||
}
|
||||
let description = krate
|
||||
.module
|
||||
.as_ref()
|
||||
.and_then(|item| Some(plain_text_summary(item.doc_value()?.as_str())))
|
||||
.unwrap_or_else(|| String::from("List of all items in this crate"));
|
||||
let mut page = layout::Page {
|
||||
title: "List of all items in this crate",
|
||||
css_class: "mod",
|
||||
root_path: "../",
|
||||
static_root_path: self.shared.static_root_path.as_deref(),
|
||||
description: description.as_str(),
|
||||
description: "List of all items in this crate",
|
||||
keywords: BASIC_KEYWORDS,
|
||||
resource_suffix: &self.shared.resource_suffix,
|
||||
extra_scripts: &[],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue