]> git.lizzy.rs Git - rust.git/commitdiff
Improve formatting of 'ManuallyDrop'
authorAaron Hill <aa1ronham@gmail.com>
Thu, 4 Jul 2019 02:16:48 +0000 (22:16 -0400)
committerGitHub <noreply@github.com>
Thu, 4 Jul 2019 02:16:48 +0000 (22:16 -0400)
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
src/libcore/mem/manually_drop.rs

index 5d430902508030985b7408f57ed938c24af63c56..d6907000ffc4a68b08c3ef4679b0f7d9defed3c6 100644 (file)
@@ -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")]