Skip to content

Commit

Permalink
Fix order of closing HTML elements in rustdoc output
Browse files Browse the repository at this point in the history
  • Loading branch information
badboy committed May 29, 2022
1 parent 0f06824 commit 9f68b99
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 9f68b99

Please sign in to comment.