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

Amend Rc/Arc::from_raw() docs regarding unsafety #68099

Merged
merged 3 commits into from
Mar 22, 2020

Commits on Jan 10, 2020

  1. Ammend Rc/Arc::from_raw() docs regarding unsafety

    Constructing an Rc/Arc is unsafe even if the wrapped `T`
    is never dereferenced.
    lukaslueg committed Jan 10, 2020
    Configuration menu
    Copy the full SHA
    becebf3 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2020

  1. Configuration menu
    Copy the full SHA
    b4c96a9 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2020

  1. Make rc::RcBox and sync::ArcInner repr(C)

    Future-proof these types in case rustc reorders
    the inner fields. As per discussion in PR rust-lang#68099.
    lukaslueg committed Feb 7, 2020
    Configuration menu
    Copy the full SHA
    586c7e3 View commit details
    Browse the repository at this point in the history