Skip to content
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

Rephrase term 'non-pointer type' #72834

Merged
merged 1 commit into from Jun 1, 2020

Conversation

JOE1994
Copy link
Contributor

@JOE1994 JOE1994 commented May 31, 2020

Hello 🐈 ,

If the reader assumes that 'pointer type's include 'smart pointer's,
the term 'non-pointer type' could mislead the reader to assume that
x should not be a smart pointer type. I tried to rephrase the term
'non-pointer type' to remove ambiguity in the doc comments.

closes #72335

Thank you for reviewing this PR! 🦸‍♀️

If the reader assumes that 'pointer type's include 'smart pointer's,
the term 'non-pointer type' could mislead the reader to assume that
x should not be a smart pointer type. I tried to rephrase the term
'non-pointer type' to remove ambiguity in the doc comments.

closes rust-lang#72335

Thank you for reviewing this PR! :)
@rust-highfive
Copy link
Collaborator

r? @sfackler

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 31, 2020
@sfackler
Copy link
Member

@bors r+ rollup

@bors
Copy link
Contributor

bors commented May 31, 2020

📌 Commit 3048a41 has been approved by sfackler

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 31, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request Jun 1, 2020
Rollup of 5 pull requests

Successful merges:

 - rust-lang#72776 (fulfill: try using SmallVec or Box for stalled_on)
 - rust-lang#72818 (Clean up E0622 explanation)
 - rust-lang#72823 (Add descriptions for all queries)
 - rust-lang#72832 (RELEASES.md: Expand `cargo tree` note to mention `cargo tree -d`)
 - rust-lang#72834 (Rephrase term 'non-pointer type')

Failed merges:

r? @ghost
@bors bors merged commit 16b4dc0 into rust-lang:master Jun 1, 2020
@JOE1994 JOE1994 deleted the correct_confusing_term branch June 21, 2020 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Confusing term ("non-pointer type"s) in docs for 'Deref'/'DerefMut'
4 participants