Remove misleading 'rvalue' terminology from transmute docs#154784
Remove misleading 'rvalue' terminology from transmute docs#154784Herrtian wants to merge 1 commit intorust-lang:mainfrom
Conversation
Replace "the rvalue ret.0, and the rvalue ret.1" with "the two returned mutable slices" in the `transmute` documentation example comment, as the term "rvalue" is not used elsewhere in standard library documentation and can be confusing. Fixes rust-lang#153350
|
r? @jhpratt rustbot has assigned @jhpratt. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
|
Hi, you've opened 10 PRs in very quick succession, and looking at the PR descriptions and some of the tests, I have some doubts regarding if the contributions are adaqutely self-reviewed. Recently, we have seen waves of automated contributions that are not adequately self-reviewed, which is why we are being more cautious. In my capacity as a venue moderator, I am requesting that you respond to reviewer questions to
I am hereby placing a temporary embargo on creation of new PRs from you before the PRs mentioned above are responded to, and the reviewers develop more confidence that you are self-reviewing and understand your contributions. The temporary embargo will be lifted if the reviewers have sufficient confidence in your contributions. Before the temporary embargo is lifted, any further PRs from your account will be closed. If new PRs continue to be raised from your account before so, further moderation action may be applied. I am closing and locking this PR before the review discussions in the PRs linked above are settled and the temporary embargo lifted. If the temporary embargo is lifted, I will unlock and reopen this PR. |
Summary
Fixes #153350
The
transmutedocumentation example contained the comment:The term "rvalue" is not used elsewhere in standard library documentation and is confusing to readers. Additionally, there is no variable named
retin the code — the function returns an anonymous tuple.Changed to: