Skip to content

Commit e25c3e2

Browse files
author
Zakarum
committed
Fix doc comment for 'ptr::copy_to' method
1 parent b18b9ed commit e25c3e2

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)