Skip to content

Commit a3ef4ed

Browse files
committed
rustdoc: make html checker a bit stricter
The old TODO comment stopped applying when rust-lang#104129 stopped nesting the notable traits popover within the header.
1 parent 64d7e0d commit a3ef4ed

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/tools/html-checker/main.rs

-5
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@ fn check_html_file(file: &Path) -> usize {
1616
"MISSING_ENDTAG_BEFORE",
1717
"INSERTING_TAG",
1818
"DISCARDING_UNEXPECTED",
19-
// This error is caused by nesting the Notable Traits tooltip within an <h4> tag.
20-
// The solution is to avoid doing that, but we need to have the <h4> tags for accessibility
21-
// reasons, and we need the Notable Traits tooltip to help everyone understand the Iterator
22-
// combinators
23-
"TAG_NOT_ALLOWED_IN",
2419
];
2520
let to_mute_s = to_mute.join(",");
2621
let mut command = Command::new("tidy");

0 commit comments

Comments
 (0)