Skip to content

Rustdoc: Methods from Deref should not be const #90855

Closed
@fee1-dead

Description

@fee1-dead

Screenshot:

image

Considering that rustdoc doesn't care about const_trait_impl, methods from Deref cannot be called in const contexts. Therefore it is best to hide the const modifiers when showing methods from Deref.

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.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions