Skip to content

Fix spelling in std::pin documentation #80191

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

Closed
wants to merge 1 commit into from

Conversation

AaronErhardt
Copy link

Recently I read the documentation of std::pin and found that it contains several spelling mistakes where pointer is misspelled "pointee". Actually, it might as well be correct for some reason because I've found that "pointee" appears in quite a few files of the Rust source code and has some use in LLVM (I wonder who had this incredibly bad idea to let a data type look like a spelling mistake). Also if it's correct this term comes out of nowhere and is never explained anywhere - at least as far I know. Not even searching the internet can tell me what a "pointee" should be.

I did hesitate a bit because if this was a mistake it should have been already fixed a long time ago but despite my research I couldn't find a single reason why "pointee" would be correct - at least inside the std::pin documentation.

TL;DR this PR replaces "pointee" with "pointer" in the doc for std::pin which might or might not be correct

@rust-highfive
Copy link
Contributor

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @shepmaster (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 19, 2020
@jonas-schievink
Copy link
Contributor

"pointee" is correct. It describes the pointed-at object.

@jonas-schievink
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants