update to latest rust

This commit is contained in:
Vincent Barrielle 2014-05-13 08:29:56 +02:00
parent a1fdec3b52
commit f8ac86effc

View File

@ -236,7 +236,7 @@ macro_rules! col_slice_impl(
let res = DVec::from_vec( let res = DVec::from_vec(
rend - rstart, rend - rstart,
unsafe { unsafe {
cast::transmute::<&$tv<N>, & [N, ..$dim]> mem::transmute::<&$tv<N>, & [N, ..$dim]>
(&col).slice(rstart, rend) (&col).slice(rstart, rend)
}); });
res res
@ -285,7 +285,7 @@ macro_rules! row_slice_impl(
let res = DVec::from_vec( let res = DVec::from_vec(
cend - cstart, cend - cstart,
unsafe { unsafe {
cast::transmute::<&$tv<N>, & [N, ..$dim]> mem::transmute::<&$tv<N>, & [N, ..$dim]>
(&row).slice(cstart, cend) (&row).slice(cstart, cend)
}); });
res res