Skip to content

Rustdoc should show the name of an item on a separate line before its description on small screens #78799

Closed
@RDambrosio016

Description

@RDambrosio016

Sometimes, on small screens, reading rustdoc documentation feels like solving a crossword puzzle:

oh no word wrap please

It would be great if instead of doing this, rustdoc would just place the name on the line before and then the description as such:

function_name
Description here

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-rustdoc-uiArea: Rustdoc UI (generated HTML)C-bugCategory: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions