Rename memcpy, memmove, memset to prevent any confusion with the C equivalents.

Closes #4203.
This commit is contained in:
William Ting 2013-01-10 01:11:04 -06:00
parent fa55778f9c
commit 5cfde77bca
5 changed files with 29 additions and 29 deletions

View file

@ -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()));