We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 626ae75 commit a93f4abCopy full SHA for a93f4ab
src/libcore/mem/manually_drop.rs
@@ -118,7 +118,8 @@ impl<T: ?Sized> ManuallyDrop<T> {
118
///
119
/// This function runs the destructor of the contained value and thus the wrapped value
120
/// now represents uninitialized data. It is up to the user of this method to ensure the
121
- /// uninitialized data is not actually used, and that this function is called at most once
+ /// uninitialized data is not actually used.
122
+ /// In particular, this function can only be called called at most once
123
/// for a given instance of `ManuallyDrop<T>`.
124
125
/// [`ManuallyDrop::into_inner`]: #method.into_inner
0 commit comments