diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2016-05-30 20:35:46 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2016-05-30 20:35:46 +0530 |
| commit | 653ce3e52575ef716390b93a180d3db0728a67a0 (patch) | |
| tree | 90fff5b0c616293f1d430a642b8af4ca96e00899 /src/libsyntax | |
| parent | 5da602bda3f30a8943dd4d10383bae6d8a77575c (diff) | |
| parent | b0c703304204f21ab6964d4b37776e7e5015cf7b (diff) | |
| download | rust-653ce3e52575ef716390b93a180d3db0728a67a0.tar.gz rust-653ce3e52575ef716390b93a180d3db0728a67a0.zip | |
Rollup merge of #33867 - oli-obk:rustdoc_variant_types, r=GuillaumeGomez
print enum variant fields in docs Right now we are repeating enum variants at the top, because the fields aren't shown with the actual docs. It's very annoying to have to scroll up and down to have both docs and field info. For struct variants we already list the fields. enum docs look like this after this PR:  There are degenerate cases for enum tuple variants with lots of fields:  I was thinking that we could move the docs below the variant (slightly indented) or list the variant fields vertically instead of horizontally r? @steveklabnik
Diffstat (limited to 'src/libsyntax')
0 files changed, 0 insertions, 0 deletions
