Closed
Description
Currently we have:
pure fn zip<T: copy, U: copy>(v: &[const T], u: &[const U]) -> ~[(T, U)]
Produces an "instantiating copy type parameter" warning when building stdtest.
We could instead have:
pure fn zip_ref<T: copy, U: copy>(v: &[const T], u: &[const U]) -> ~[(T, U)]
pure fn zip<T, U>(+v: ~[const T], +u: ~[const U]) -> ~[(T, U)]