Skip to content

Commit

Permalink
Rollup merge of rust-lang#97518 - badboy:rustdoc-ul-div-fix, r=notriddle
Browse files Browse the repository at this point in the history
Fix order of closing HTML elements in rustdoc output

Initially reported here: https://users.rust-lang.org/t/documentation-itself-parsed-error/76232
  • Loading branch information
compiler-errors authored May 29, 2022
2 parents 86523e9 + 9f68b99 commit bc1c83f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustdoc/html/render/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1764,7 +1764,7 @@ fn print_sidebar(cx: &Context<'_>, it: &clean::Item, buffer: &mut Buffer) {
write!(buffer, "<li class=\"version\">Version {}</li>", Escape(version));
}
write!(buffer, "<li><a id=\"all-types\" href=\"all.html\">All Items</a></li>");
buffer.write_str("</div></ul>");
buffer.write_str("</ul></div>");
}

match *it.kind {
Expand Down

0 comments on commit bc1c83f

Please sign in to comment.