about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAaron Hill <aa1ronham@gmail.com>2019-07-03 22:16:48 -0400
committerGitHub <noreply@github.com>2019-07-03 22:16:48 -0400
commit626ae7585c555010bee23d7e63b28147b63c0c19 (patch)
tree6dcb16759354187a57056565c83348a56ea149b4 /src
parentaf96b1df1da916561547dd30b3187b30308d6843 (diff)
downloadrust-626ae7585c555010bee23d7e63b28147b63c0c19.tar.gz
rust-626ae7585c555010bee23d7e63b28147b63c0c19.zip
Improve formatting of 'ManuallyDrop'
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/libcore/mem/manually_drop.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/mem/manually_drop.rs b/src/libcore/mem/manually_drop.rs
index 5d430902508..d6907000ffc 100644
--- a/src/libcore/mem/manually_drop.rs
+++ b/src/libcore/mem/manually_drop.rs
@@ -119,7 +119,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, and that this function is called at most once
-    /// for a given instance of ManuallyDrop
+    /// for a given instance of `ManuallyDrop<T>`.
     ///
     /// [`ManuallyDrop::into_inner`]: #method.into_inner
     #[stable(feature = "manually_drop", since = "1.20.0")]