about summary refs log tree commit diff
path: root/library/core/src/clone.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/core/src/clone.rs')
-rw-r--r--library/core/src/clone.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/clone.rs b/library/core/src/clone.rs
index e0ac0bfc528..64746309861 100644
--- a/library/core/src/clone.rs
+++ b/library/core/src/clone.rs
@@ -427,7 +427,7 @@ pub unsafe trait CloneToUninit {
     /// read or dropped, because even if it was previously valid, it may have been partially
     /// overwritten.
     ///
-    /// The caller may wish to to take care to deallocate the allocation pointed to by `dest`,
+    /// The caller may wish to take care to deallocate the allocation pointed to by `dest`,
     /// if applicable, to avoid a memory leak (but this is not a requirement).
     ///
     /// Implementors should avoid leaking values by, upon unwinding, dropping all component values