From a422cd7ddba45cc943416851c4abc8ae915c4fe9 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Thu, 9 Feb 2012 21:47:12 +0100 Subject: [PATCH] fixed memmove. were using memcpy due to copy paste error --- src/libcore/ptr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/ptr.rs b/src/libcore/ptr.rs index d271a3458c9c..bb48727230c7 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(dst: *T, src: *T, count: uint) { - rusti::memcpy(dst, src, count); + rusti::memmove(dst, src, count); } #[test]