Update wording

This commit is contained in:
Aaron Hill 2019-07-27 18:42:47 -04:00 committed by GitHub
parent 626ae7585c
commit a93f4abe24
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -118,7 +118,8 @@ impl<T: ?Sized> ManuallyDrop<T> {
///
/// This function runs the destructor of the contained value and thus the wrapped value
/// now represents uninitialized data. It is up to the user of this method to ensure the
/// uninitialized data is not actually used, and that this function is called at most once
/// uninitialized data is not actually used.
/// In particular, this function can only be called called at most once
/// for a given instance of `ManuallyDrop<T>`.
///
/// [`ManuallyDrop::into_inner`]: #method.into_inner