From f8ac86effc44dac70b576be0f25275ecdad112b8 Mon Sep 17 00:00:00 2001 From: Vincent Barrielle Date: Tue, 13 May 2014 08:29:56 +0200 Subject: [PATCH] update to latest rust --- src/structs/mat_macros.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/structs/mat_macros.rs b/src/structs/mat_macros.rs index b3fb0513..e574a770 100644 --- a/src/structs/mat_macros.rs +++ b/src/structs/mat_macros.rs @@ -236,7 +236,7 @@ macro_rules! col_slice_impl( let res = DVec::from_vec( rend - rstart, unsafe { - cast::transmute::<&$tv, & [N, ..$dim]> + mem::transmute::<&$tv, & [N, ..$dim]> (&col).slice(rstart, rend) }); res @@ -285,7 +285,7 @@ macro_rules! row_slice_impl( let res = DVec::from_vec( cend - cstart, unsafe { - cast::transmute::<&$tv, & [N, ..$dim]> + mem::transmute::<&$tv, & [N, ..$dim]> (&row).slice(cstart, cend) }); res