Skip to content

Conversation

joshtriplett
Copy link
Member

@joshtriplett joshtriplett commented Mar 29, 2018

Seems more useful to say that it has the same size as *mut T.

Seems more useful to say that it has the same size as `*mut T`.
@kennytm kennytm added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Mar 29, 2018
@steveklabnik
Copy link
Contributor

Thanks! To be clear, the size is *mut T, not T. It's correct in the code, but not correct in the PR description 👍

@bors: r+ rollup

@bors
Copy link
Collaborator

bors commented Mar 29, 2018

📌 Commit 39fe29b has been approved by steveklabnik

@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 Mar 29, 2018
@joshtriplett
Copy link
Member Author

@steveklabnik I fixed it in the commit message, just not in the PR description. Fixed there now, too.

kennytm added a commit to kennytm/rust that referenced this pull request Mar 29, 2018
…labnik

src/libcore/ptr.rs: Fix documentation for size of `Option<NonNull<T>>`

Seems more useful to say that it has the same size as `*mut T`.
bors added a commit that referenced this pull request Mar 30, 2018
Rollup of 10 pull requests

- Successful merges: #49443, #49445, #49446, #49463, #49464, #49466, #49468, #49473, #49484, #49486
- Failed merges:
@bors bors merged commit 39fe29b into rust-lang:master Mar 30, 2018
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.

5 participants