Skip to content

Self keyword is documented as SelfTy #98828

@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

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.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