about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Todd <pete@petertodd.org>2019-12-29 20:50:01 -0500
committerPeter Todd <pete@petertodd.org>2019-12-29 20:50:01 -0500
commite4c0eddbdb9eff62a994c76f518d8204c08b4941 (patch)
tree4a54a40b260a1060c76f067c7b875bdf9b6828da
parentda3629b05f8f1b425a738bfe9fe9aedd47c5417a (diff)
downloadrust-e4c0eddbdb9eff62a994c76f518d8204c08b4941.tar.gz
rust-e4c0eddbdb9eff62a994c76f518d8204c08b4941.zip
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