1
Fork 0

remove unused import warnings

This commit is contained in:
Huon Wilson 2013-06-09 02:21:11 +10:00
parent 00f5916809
commit 98ba91f81b
29 changed files with 14 additions and 52 deletions

View file

@ -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);
}