Remove unused zip_copies.

This commit is contained in:
Ms2ger 2014-05-07 12:29:26 +02:00
parent 479c927a39
commit 87008a5ae1
2 changed files with 0 additions and 7 deletions

View file

@ -4290,7 +4290,6 @@ class CGBindingRoot(CGThing):
'script_task::JSPageInfo',
'libc',
'servo_util::str::DOMString',
'servo_util::vec::zip_copies',
'std::cast',
'std::cmp',
'std::ptr',

View file

@ -67,12 +67,6 @@ fn test_match<T: Eq>(b: &T, a: Option<&T>) -> bool {
}
}
pub fn zip_copies<A: Clone, B: Clone>(avec: &[A], bvec: &[B]) -> ~[(A,B)] {
avec.iter().map(|x| x.clone())
.zip(bvec.iter().map(|x| x.clone()))
.collect()
}
#[test]
fn should_find_all_elements() {
let arr_odd = [1, 2, 4, 6, 7, 8, 9];