-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
C-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Milestone
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)]
Metadata
Metadata
Assignees
Labels
C-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.