about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/builder.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2021-11-20 01:09:38 +0100
committerGitHub <noreply@github.com>2021-11-20 01:09:38 +0100
commitc0695bbf6083fae739c259c8d88ef24502e5c089 (patch)
treeea551cea48448daa6f5361a11a6d0547c4126fe1 /compiler/rustc_codegen_llvm/src/builder.rs
parent97bd45b3730c8f09327b6f8ca5133de38269101c (diff)
parent69df43b041f76251391f11264c1ff763ca2a64a0 (diff)
downloadrust-c0695bbf6083fae739c259c8d88ef24502e5c089.tar.gz
rust-c0695bbf6083fae739c259c8d88ef24502e5c089.zip
Rollup merge of #90089 - jsha:enum-fields-headings, r=camelid,GuillaumeGomez
Improve display of enum variants

Use h3 and h4 for the variant name and the "Fields" subheading.
Remove the "of T" part of the "Fields" subheading.
Remove border-bottom from "Fields" subheading.
Move docblock below "Fields" listing.

Fixes #90061

Demo:

https://jacob.hoffman-andrews.com/rust/xmlparser-updated/xmlparser/enum.Token.html#variants
https://jacob.hoffman-andrews.com/rust/fix-enum-variants/std/io/enum.ErrorKind.html#variants
https://jacob.hoffman-andrews.com/rust/fix-enum-variants/std/result/enum.Result.html#variants

r? ``@camelid``
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder.rs')
0 files changed, 0 insertions, 0 deletions