Rename memcpy, memmove, memset to prevent any confusion with the C equivalents.
Closes #4203.
This commit is contained in:
parent
fa55778f9c
commit
5cfde77bca
5 changed files with 29 additions and 29 deletions
|
|
@ -826,7 +826,7 @@ impl TcpSocketBuf: io::Reader {
|
|||
let mut data = ~[];
|
||||
self.data.buf <-> data;
|
||||
|
||||
vec::bytes::memcpy(buf, vec::view(data, 0, data.len()), count);
|
||||
vec::bytes::copy_memory(buf, vec::view(data, 0, data.len()), count);
|
||||
|
||||
self.data.buf.push_all(vec::view(data, count, data.len()));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue