Skip to content

rustdoc documents mut self as mut self: Self #81289

Closed
@tesuji

Description

@tesuji

Rustdoc on nightly documents methods have signature of fn(mut self) as fn(mut self: Self) while it only has to document it as fn(self).
image

On rustdoc stable, things are normal:
image

Meta

rustc --version --verbose: Version 1.49.0 (e1884a8 2020-12-29)

Metadata

Metadata

Labels

C-bugCategory: This is a bug.P-mediumMedium priorityT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions