Skip to content

Self keyword is documented as SelfTy #98828

Open
@CAD97

Description

@CAD97

This should just be Self. "SelfTy" is not a keyword.

The doc page cannot be https://doc.rust-lang.org/nightly/std/keyword.Self.html on a case-insensitive host because that will conflict with https://doc.rust-lang.org/nightly/std/keyword.self.html.

IMHO: the ideal would be https://doc.rust-lang.org/nightly/std/keyword.Self%20(type).html as the URL, and to properly display the keyword as Self.


https://doc.rust-lang.org/nightly/std/keyword.SelfTy.html

rustdoc keywords list

rustdoc keyword page for SelfTy

@rustbot modify labels +A-rustdoc

Metadata

Metadata

Assignees

No one assigned

    Labels

    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