Skip to content

Commit bc1c83f

Browse files
Rollup merge of rust-lang#97518 - badboy:rustdoc-ul-div-fix, r=notriddle
Fix order of closing HTML elements in rustdoc output Initially reported here: https://users.rust-lang.org/t/documentation-itself-parsed-error/76232
2 parents 86523e9 + 9f68b99 commit bc1c83f

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
@@ -1764,7 +1764,7 @@ fn print_sidebar(cx: &Context<'_>, it: &clean::Item, buffer: &mut Buffer) {
17641764
write!(buffer, "<li class=\"version\">Version {}</li>", Escape(version));
17651765
}
17661766
write!(buffer, "<li><a id=\"all-types\" href=\"all.html\">All Items</a></li>");
1767-
buffer.write_str("</div></ul>");
1767+
buffer.write_str("</ul></div>");
17681768
}
17691769

17701770
match *it.kind {

0 commit comments

Comments
 (0)