Skip to content

Commit

Permalink
rustdoc: make html checker a bit stricter
Browse files Browse the repository at this point in the history
The old TODO comment stopped applying when
rust-lang#104129
stopped nesting the notable traits popover within the header.
  • Loading branch information
notriddle committed Dec 1, 2023
1 parent 64d7e0d commit a3ef4ed
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/tools/html-checker/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ fn check_html_file(file: &Path) -> usize {
"MISSING_ENDTAG_BEFORE",
"INSERTING_TAG",
"DISCARDING_UNEXPECTED",
// This error is caused by nesting the Notable Traits tooltip within an <h4> tag.
// The solution is to avoid doing that, but we need to have the <h4> tags for accessibility
// reasons, and we need the Notable Traits tooltip to help everyone understand the Iterator
// combinators
"TAG_NOT_ALLOWED_IN",
];
let to_mute_s = to_mute.join(",");
let mut command = Command::new("tidy");
Expand Down

0 comments on commit a3ef4ed

Please sign in to comment.