Skip to content

Methods from deref in rustdoc erroneously show static methods #25673

Closed
@netvl

Description

@netvl

An example (originally found in this SO question) is PathBuf - it shows a static method on Path in the "Methods from Deref" section, but naturally static methods can't be called through Deref since it requires having an object.

Metadata

Metadata

Assignees

No one assigned

    Labels

    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