mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-17 15:23:26 +03:00
Fix doc comment for 'ptr::copy_to' method
This commit is contained in:
+2
-2
@@ -1162,8 +1162,8 @@ pub unsafe fn read_unaligned(self) -> 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
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user