Skip to content

rustdoc: Way to fold documentation of Methods from Deref<Target = ...> #127470

Closed
@tesuji

Description

@tesuji

Take Vec for example, there are fold-able impl blocks, but the inline impl Deref block
cannot be folded. Sometimes I just wanna skim over the doc, and skip uninterested doc block
by folding them.

image

@rustbot label +A-rustdoc-ui T-rustdoc T-rustdoc-frontend C-enhancement

> rustc --version
Nightly version: 1.81.0-nightly
(2024-07-06 ed7e35f3494045fa1194)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-rustdoc-uiArea: Rustdoc UI (generated HTML)C-enhancementCategory: An issue proposing an enhancement or a PR with one.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.T-rustdoc-frontendRelevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions