-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rustdoc documents mut self
as mut self: Self
#81289
Labels
C-bug
Category: This is a bug.
P-medium
Medium priority
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Milestone
Comments
rustbot
added
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
I-prioritize
Issue: Indicates that prioritization has been requested for this issue.
labels
Jan 23, 2021
I'd like to investigate this :) |
This also affects fn bar(mut foo) {} Where
|
So a few observations:
|
I see two path to solving this bug:
cc @jyn514 what do you think? |
I would prefer to go for 1, there's no reason to have two completely different functions for pretty-printing. |
camelid
added
P-medium
Medium priority
and removed
I-prioritize
Issue: Indicates that prioritization has been requested for this issue.
labels
Feb 5, 2021
Assigning |
LeSeulArtichaut
added a commit
to LeSeulArtichaut/rust
that referenced
this issue
Feb 10, 2021
camelid
added
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
and removed
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
labels
Feb 12, 2021
(now a beta regression) |
JohnTitor
added a commit
to JohnTitor/rust
that referenced
this issue
Feb 12, 2021
…melid Don't display `mut` in arguments for functions documentation Fixes rust-lang#81289 by reverting rust-lang#80799, as requested in rust-lang#81328 (comment). Supersedes rust-lang#81328. r? `@camelid` cc `@jyn514`
Mark-Simulacrum
pushed a commit
to Mark-Simulacrum/rust
that referenced
this issue
Feb 13, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
C-bug
Category: This is a bug.
P-medium
Medium priority
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Rustdoc on nightly documents methods have signature of
fn(mut self)
asfn(mut self: Self)
while it only has to document it asfn(self)
.On rustdoc stable, things are normal:
Meta
rustc --version --verbose
: Version 1.49.0 (e1884a8 2020-12-29)The text was updated successfully, but these errors were encountered: