mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 10:13:54 +00:00
Fix doc comment for 'ptr::copy_to' method
This commit is contained in:
parent
b18b9edf00
commit
e25c3e2f16
@ -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
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user