diff options
| author | William Ting <william.h.ting@gmail.com> | 2013-01-10 01:11:04 -0600 |
|---|---|---|
| committer | William Ting <william.h.ting@gmail.com> | 2013-01-10 01:24:41 -0600 |
| commit | 5cfde77bca32bd956be4a0db65887d9efd333d2b (patch) | |
| tree | d62d49156274885e1887982ca98e628f7549afd3 /src/libstd | |
| parent | fa55778f9cc7faf6aacdb49dd47a631d38499da5 (diff) | |
| download | rust-5cfde77bca32bd956be4a0db65887d9efd333d2b.tar.gz rust-5cfde77bca32bd956be4a0db65887d9efd333d2b.zip | |
Rename memcpy, memmove, memset to prevent any confusion with the C equivalents.
Closes #4203.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/net_tcp.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/net_tcp.rs b/src/libstd/net_tcp.rs index 4ca247b39b7..fbb40f8b0a1 100644 --- a/src/libstd/net_tcp.rs +++ b/src/libstd/net_tcp.rs @@ -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())); |
