Skip to content

Commit 7e888bd

Browse files
committed
Do not nest headers inside of other headers
Tidy hates that, and it gives very confusing error messages when you do it.
1 parent 07667f9 commit 7e888bd

File tree

1 file changed

+1
-1
lines changed
  • src/librustdoc/html/render

1 file changed

+1
-1
lines changed

src/librustdoc/html/render/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1194,7 +1194,7 @@ fn notable_traits_decl(decl: &clean::FnDecl, cx: &Context<'_>) -> String {
11941194
if out.is_empty() {
11951195
write!(
11961196
&mut out,
1197-
"<h3 class=\"notable\">Notable traits for {}</h3>\
1197+
"<div class=\"notable\">Notable traits for {}</div>\
11981198
<code class=\"content\">",
11991199
impl_.for_.print(cx)
12001200
);

0 commit comments

Comments
 (0)