typo
Co-authored-by: Ben Kimock <kimockb@gmail.com>
This commit is contained in:
parent
2e0ca9472b
commit
eed5df52f6
1 changed files with 1 additions and 1 deletions
|
@ -2555,7 +2555,7 @@ pub const unsafe fn copy<T>(src: *const T, dst: *mut T, count: usize) {
|
|||
///
|
||||
/// Additionally, note that changing `*dst` in this way can easily lead to undefined behavior (UB)
|
||||
/// later if the written bytes are not a valid representation of some `T`. For instance, the
|
||||
/// follwing is an **incorrect** use of this function:
|
||||
/// following is an **incorrect** use of this function:
|
||||
///
|
||||
/// ```rust,no_run
|
||||
/// unsafe {
|
||||
|
|
Loading…
Add table
Reference in a new issue