-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
Closed
Labels
C-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.
Description
"iter" is now in core: 303e48e
- Implement the "iter" interface for "str" and "vec".
- Functions like
str::any,vec::alletc. should be moved to "iter", so that the functionality has only one implementation in "iter". - Remove now unnecessary function definitions in "str" and "vec".
Also we could have only functions which iterate.
E.g. if we only provide str::chars_iter, we could get rid of str::chars, since this can be easily implemented using iter::to_list and str::chars_iter.
See https://mail.mozilla.org/pipermail/rust-dev/2012-January/001216.html
Reactions are currently unavailable
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.