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

emphasize that ManuallyDrop is safe-to-access and unsafe-to-drop #72277

Merged
merged 1 commit into from
May 17, 2020

Conversation

RalfJung
Copy link
Member

This seems to sometimes confused people, and generally seems reasonable to state in the top-level summary of the type.

@rust-highfive
Copy link
Collaborator

r? @hanna-kruppe

(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 16, 2020
@RalfJung RalfJung force-pushed the manually-drop-docs branch from 52480b3 to 993c448 Compare May 16, 2020 17:50
@Mark-Simulacrum
Copy link
Member

@bors r+

Seems like hopefully this will help with the confusion at least a little...

@bors
Copy link
Contributor

bors commented May 16, 2020

📌 Commit 993c448 has been approved by Mark-Simulacrum

@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 16, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request May 17, 2020
Rollup of 4 pull requests

Successful merges:

 - rust-lang#72233 (Fix {:#?} representation of proc_macro::Literal)
 - rust-lang#72277 (emphasize that ManuallyDrop is safe-to-access and unsafe-to-drop)
 - rust-lang#72281 (Fix whitespace in `?Sized` structured suggestion)
 - rust-lang#72282 (Fix issue number typo in note)

Failed merges:

r? @ghost
@bors bors merged commit 444f449 into rust-lang:master May 17, 2020
@RalfJung RalfJung deleted the manually-drop-docs branch May 17, 2020 08:59
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