about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2019-12-30 14:07:57 +0900
committerGitHub <noreply@github.com>2019-12-30 14:07:57 +0900
commitdcc30aced0415f42711723c77444842e019ae08e (patch)
treeaa3983f71fd029cb3197b8a0957a6edf82de30d1
parentb6244af566d173ac266df937a5608dddce182ab0 (diff)
parente4c0eddbdb9eff62a994c76f518d8204c08b4941 (diff)
downloadrust-dcc30aced0415f42711723c77444842e019ae08e.tar.gz
rust-dcc30aced0415f42711723c77444842e019ae08e.zip
Rollup merge of #67715 - petertodd:2019-typo-manuallydrop, r=Centril
Typo fix
-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 af4635f89f6..36064488eb2 100644
--- a/src/libcore/mem/manually_drop.rs
+++ b/src/libcore/mem/manually_drop.rs
@@ -121,7 +121,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.
-    /// In particular, this function can only be called called at most once
+    /// In particular, this function can only be called at most once
     /// for a given instance of `ManuallyDrop<T>`.
     ///
     /// [`ManuallyDrop::into_inner`]: #method.into_inner