This commit is contained in:
Peter Todd 2019-12-29 20:50:01 -05:00
parent da3629b05f
commit e4c0eddbdb
No known key found for this signature in database
GPG key ID: 2481403DA5F091FB

View file

@ -121,7 +121,7 @@ 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.
/// In particular, this function can only be called called at most once
/// In particular, this function can only be called at most once
/// for a given instance of `ManuallyDrop<T>`.
///
/// [`ManuallyDrop::into_inner`]: #method.into_inner