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

Document that ManuallyDrop::drop should not called more than once #62360

Merged
merged 3 commits into from
Jul 29, 2019

Commits on Jul 4, 2019

  1. Document that ManuallyDrop::drop should not called more than once

    Double dropping is unsound (e.g. rust-lang#60977). This commit documents the fact that `ManuallyDrop::drop` should not be called multiple times on the same instance, as it might not be immediately obvious that this counts as a use of uninitialized data.
    Aaron1011 authored Jul 4, 2019
    Configuration menu
    Copy the full SHA
    af96b1d View commit details
    Browse the repository at this point in the history
  2. Improve formatting of 'ManuallyDrop'

    Co-Authored-By: Mazdak Farrokhzad <[email protected]>
    Aaron1011 and Centril authored Jul 4, 2019
    Configuration menu
    Copy the full SHA
    626ae75 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2019

  1. Update wording

    Aaron1011 authored Jul 27, 2019
    Configuration menu
    Copy the full SHA
    a93f4ab View commit details
    Browse the repository at this point in the history