rustdoc: remove unnecessary DOM class h1.fqn

It's misleading. The main heading sometimes isn't an fully qualified name at all.

It's also redundant. It's always a child of `div.main-heading`, so just use that.
This commit is contained in:
Michael Howell 2023-01-13 10:09:25 -07:00
parent 5ca6f7d2c3
commit 39b90a5f6e
17 changed files with 33 additions and 33 deletions

View file

@ -345,7 +345,7 @@ if (typeof exports !== 'undefined') {exports.searchIndex = searchIndex};
};
let content = format!(
"<h1 class=\"fqn\">List of all crates</h1><ul class=\"all-items\">{}</ul>",
"<h1>List of all crates</h1><ul class=\"all-items\">{}</ul>",
krates
.iter()
.map(|s| {