mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-30 07:27:56 +00:00
Update to latest rust nightly
This commit is contained in:
@@ -670,8 +670,8 @@ fn push_all_bytes(dst: &mut Vec<u8>, src: &[u8]) {
|
||||
dst.set_len(dst_len + src_len);
|
||||
|
||||
::std::ptr::copy_nonoverlapping(
|
||||
dst.as_mut_ptr().offset(dst_len as isize),
|
||||
src.as_ptr(),
|
||||
dst.as_mut_ptr().offset(dst_len as isize),
|
||||
src_len);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user