From 560dff3891c9ae72bf48ee058646c828ec4e2f89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Crozet?= Date: Fri, 29 Aug 2014 21:35:42 +0200 Subject: [PATCH] Update to the last rust-nightly. Version of rustc: 0.12.0-pre-nightly (2e92c67dc 2014-08-28 23:56:20 +0000). --- Makefile | 4 +--- src/structs/spec/vec0.rs | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 6db4a1f2..0a74666a 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,4 @@ tmp=_git_distcheck -nalgebra_doc_path=doc all: cargo build --release @@ -12,8 +11,7 @@ bench: rm bench~ doc: - mkdir -p $(nalgebra_doc_path) - rustdoc src/lib.rs + cargo doc clean: cargo clean diff --git a/src/structs/spec/vec0.rs b/src/structs/spec/vec0.rs index 3ca49091..bd016bc3 100644 --- a/src/structs/spec/vec0.rs +++ b/src/structs/spec/vec0.rs @@ -52,14 +52,14 @@ impl vec::Vec0 { } } -impl Iterable for vec::Vec0 { +impl Iterable for vec::Vec0 { #[inline] fn iter<'l>(&'l self) -> Items<'l, N> { unsafe { mem::transmute::<&'l vec::Vec0, &'l [N, ..0]>(self).iter() } } } -impl IterableMut for vec::Vec0 { +impl IterableMut for vec::Vec0 { #[inline] fn mut_iter<'l>(&'l mut self) -> MutItems<'l, N> { unsafe { mem::transmute::<&'l mut vec::Vec0, &'l mut [N, ..0]>(self).mut_iter() }