Skip to content

Commit f22c03f

Browse files
authored
Rollup merge of rust-lang#52777 - omni-viral:master, r=TimNN
Fix doc comment for 'ptr::copy_to' method Fix error in doc comment for `ptr::copy_to` method.
2 parents 2c088cb + e25c3e2 commit f22c03f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libcore/ptr.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1162,8 +1162,8 @@ impl<T: ?Sized> *const T {
11621162
///
11631163
/// Care must be taken with the ownership of `self` and `dest`.
11641164
/// This method semantically moves the values of `self` into `dest`.
1165-
/// However it does not drop the contents of `self`, or prevent the contents
1166-
/// of `dest` from being dropped or used.
1165+
/// However it does not drop the contents of `dest`, or prevent the contents
1166+
/// of `self` from being dropped or used.
11671167
///
11681168
/// # Examples
11691169
///

0 commit comments

Comments
 (0)