about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAaron Hill <aa1ronham@gmail.com>2019-07-27 18:42:47 -0400
committerGitHub <noreply@github.com>2019-07-27 18:42:47 -0400
commita93f4abe24019e2dbe1e8f9bffae01d91d5079e0 (patch)
tree8a9f34211bcb3ede6119131a380b9a12988e80cf
parent626ae7585c555010bee23d7e63b28147b63c0c19 (diff)
downloadrust-a93f4abe24019e2dbe1e8f9bffae01d91d5079e0.tar.gz
rust-a93f4abe24019e2dbe1e8f9bffae01d91d5079e0.zip
Update wording
-rw-r--r--src/libcore/mem/manually_drop.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcore/mem/manually_drop.rs b/src/libcore/mem/manually_drop.rs
index d6907000ffc..bb353993236 100644
--- a/src/libcore/mem/manually_drop.rs
+++ b/src/libcore/mem/manually_drop.rs
@@ -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