Skip to content

Don't hide fields of enum struct variants#87332

Merged
bors merged 1 commit intorust-lang:masterfrom
camelid:dont-hide-fields
Jul 23, 2021
Merged

Don't hide fields of enum struct variants#87332
bors merged 1 commit intorust-lang:masterfrom
camelid:dont-hide-fields

Conversation

@camelid
Copy link
Copy Markdown
Member

@camelid camelid commented Jul 21, 2021

  • The toggle adds visual clutter
  • It's easy to miss that there are fields
  • Tuple variant fields are always shown, so it is inconsistent to hide
    struct variant fields
  • It's annoying to have to click the toggle every time

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-rustdoc-ui Area: Rustdoc UI (generated HTML) S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants