Skip to content

Commit a93f4ab

Browse files
authored
Update wording
1 parent 626ae75 commit a93f4ab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/libcore/mem/manually_drop.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ impl<T: ?Sized> ManuallyDrop<T> {
118118
///
119119
/// This function runs the destructor of the contained value and thus the wrapped value
120120
/// 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
121+
/// uninitialized data is not actually used.
122+
/// In particular, this function can only be called called at most once
122123
/// for a given instance of `ManuallyDrop<T>`.
123124
///
124125
/// [`ManuallyDrop::into_inner`]: #method.into_inner

0 commit comments

Comments
 (0)