Fix doc comment for 'ptr::copy_to' method

This commit is contained in:
Zakarum 2018-07-27 15:26:57 +03:00
parent b18b9edf00
commit e25c3e2f16

View File

@ -1162,8 +1162,8 @@ impl<T: ?Sized> *const T {
/// ///
/// Care must be taken with the ownership of `self` and `dest`. /// Care must be taken with the ownership of `self` and `dest`.
/// This method semantically moves the values of `self` into `dest`. /// This method semantically moves the values of `self` into `dest`.
/// However it does not drop the contents of `self`, or prevent the contents /// However it does not drop the contents of `dest`, or prevent the contents
/// of `dest` from being dropped or used. /// of `self` from being dropped or used.
/// ///
/// # Examples /// # Examples
/// ///