about summary refs log tree commit diff
path: root/src/libstd/vec.rs
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2013-06-09 02:21:11 +1000
committerHuon Wilson <dbau.pp+github@gmail.com>2013-06-09 02:22:23 +1000
commit98ba91f81bea38d8fc8bd5bc0cb44ac3e173a53c (patch)
treef99d1c8374844ccf7a3368110d3e33c0e51f18bb /src/libstd/vec.rs
parent00f591680983cc19a6d9f24d8f8c0026ccf20398 (diff)
downloadrust-98ba91f81bea38d8fc8bd5bc0cb44ac3e173a53c.tar.gz
rust-98ba91f81bea38d8fc8bd5bc0cb44ac3e173a53c.zip
remove unused import warnings
Diffstat (limited to 'src/libstd/vec.rs')
-rw-r--r--src/libstd/vec.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/vec.rs b/src/libstd/vec.rs
index bdc9fd0ccad..6137b589bdb 100644
--- a/src/libstd/vec.rs
+++ b/src/libstd/vec.rs
@@ -3349,13 +3349,13 @@ mod tests {
 
     #[test]
     fn test_each_ret_len0() {
-        let mut a0 : [int, .. 0] = [];
+        let a0 : [int, .. 0] = [];
         assert_eq!(each(a0, |_p| fail!()), true);
     }
 
     #[test]
     fn test_each_ret_len1() {
-        let mut a1 = [17];
+        let a1 = [17];
         assert_eq!(each(a1, |_p| true), true);
         assert_eq!(each(a1, |_p| false), false);
     }