update to latest rust

This commit is contained in:
Vincent Barrielle 2014-05-13 08:29:56 +02:00
parent a1fdec3b52
commit f8ac86effc
1 changed files with 2 additions and 2 deletions

View File

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