diff options
| author | Brian Anderson <andersrb@gmail.com> | 2012-02-09 13:47:55 -0800 |
|---|---|---|
| committer | Brian Anderson <andersrb@gmail.com> | 2012-02-09 13:47:55 -0800 |
| commit | 9effae841391db2557e645c6af0cedcbfcd3a8b4 (patch) | |
| tree | 0494e9ed29c5f0e75cb5390195f8bfafc4d8ec6e | |
| parent | 1ccbba33414e68fda6a4a0886bc657069a9737dc (diff) | |
| parent | a422cd7ddba45cc943416851c4abc8ae915c4fe9 (diff) | |
| download | rust-9effae841391db2557e645c6af0cedcbfcd3a8b4.tar.gz rust-9effae841391db2557e645c6af0cedcbfcd3a8b4.zip | |
Merge pull request #1794 from matricks/bugfix
fixed memmove. were using memcpy due to copy paste error
| -rw-r--r-- | src/libcore/ptr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/ptr.rs b/src/libcore/ptr.rs index d271a3458c9..bb48727230c 100644 --- a/src/libcore/ptr.rs +++ b/src/libcore/ptr.rs @@ -70,7 +70,7 @@ Copies data from one src to dst, overlap between the two pointers may occur. Count is the number of elements to copy and not the number of bytes. */ unsafe fn memmove<T>(dst: *T, src: *T, count: uint) { - rusti::memcpy(dst, src, count); + rusti::memmove(dst, src, count); } #[test] |
