about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorZakarum <scareaangel@gmail.com>2018-07-27 15:26:57 +0300
committerZakarum <scareaangel@gmail.com>2018-07-27 15:26:57 +0300
commite25c3e2f16ca89bda5d785cce41b1472003edbae (patch)
tree71d021c6fe447e24c4dbef7d833659baac166034 /src/libcore
parentb18b9edf006c10f4e08794d31425001401e27a09 (diff)
downloadrust-e25c3e2f16ca89bda5d785cce41b1472003edbae.tar.gz
rust-e25c3e2f16ca89bda5d785cce41b1472003edbae.zip
Fix doc comment for 'ptr::copy_to' method
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/ptr.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/ptr.rs b/src/libcore/ptr.rs
index be82ab44cd1..fe5914c72e1 100644
--- a/src/libcore/ptr.rs
+++ b/src/libcore/ptr.rs
@@ -1162,8 +1162,8 @@ impl<T: ?Sized> *const T {
     ///
     /// Care must be taken with the ownership of `self` and `dest`.
     /// This method semantically moves the values of `self` into `dest`.
-    /// However it does not drop the contents of `self`, or prevent the contents
-    /// of `dest` from being dropped or used.
+    /// However it does not drop the contents of `dest`, or prevent the contents
+    /// of `self` from being dropped or used.
     ///
     /// # Examples
     ///