Remove some warnings and make tests pass.

This commit is contained in:
Eric Holk
2012-06-14 18:09:31 -07:00
parent e4c291530e
commit 3b9848b869
2 changed files with 0 additions and 10 deletions

View File

@@ -2193,13 +2193,6 @@ mod tests {
assert addr == addr_imm;
}
#[test]
fn test_unshift() {
let mut x = [1, 2, 3];
unshift(x, 0);
assert x == [0, 1, 2, 3];
}
#[test]
fn test_capacity() {
let mut v = [0u64];