diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2012-02-09 21:47:12 +0100 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2012-02-09 21:47:12 +0100 |
| commit | a422cd7ddba45cc943416851c4abc8ae915c4fe9 (patch) | |
| tree | e21a0b547a725a79c3d6cd97f3b163fafd774d3c | |
| parent | 708f7b927c0c98d60bf1c8c55eefd09c9da56239 (diff) | |
| download | rust-a422cd7ddba45cc943416851c4abc8ae915c4fe9.tar.gz rust-a422cd7ddba45cc943416851c4abc8ae915c4fe9.zip | |
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] |
