Open JohnHeitmann opened 5 years ago
One more tweak proposal: Change the text "fields omitted" to either "private fields omitted" or nothing at all in order to distinguish between the "These are private" case and the "We're hiding these for decluttering" case. Until just now I thought that text was for decluttering.
cc @GuillaumeGomez
I have a few small proposals to reduce the visual clutter of rustdoc pages:
...
Quick 'n Dirty mockups just to give the gist:
The size and indentation of the toggles as they are implemented today do give some ambient hints about the hierarchy of the page, so I'd also want to tweak spacing & sizing a bit to better emphasize hierarchy. You can see in the mock (where I haven't tweaked spacing yet) that the
pub fn
line looks very similar in priority to theimpl Vec
line, which is probably not desirable.Bonus Objectives:
If this gets positive reception, I can build a demo of these changes.