Rollup merge of #52777 - omni-viral:master, r=TimNN

Fix doc comment for 'ptr::copy_to' method

Fix error in doc comment for `ptr::copy_to` method.
This commit is contained in:
kennytm 2018-07-28 16:25:05 +08:00 committed by GitHub
commit f22c03fb57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
///