Skip to content

cleaning up vec #7213

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 5 commits into from
Closed

cleaning up vec #7213

wants to merge 5 commits into from

Conversation

thestinger
Copy link
Contributor

No description provided.

An Iterator implementation can be made for &const [T] if it turns out
to be necessary for some use case.
replaced by the `enumerate` method from std::iterator
The removed test for issue #2611 is well covered by the `std::iterator`
module itself.

This adds the `count` method to `IteratorUtil` to replace `EqIter`.
@thestinger thestinger closed this Jun 20, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jul 1, 2021
Move from-iter-instead-of-collect to pedantic

Since FromIterator will become part of the prelude, this lint being
warn by default is incongruous with the libs team position on the topic.

Fixes rust-lang#7213.

---

changelog: moved [`from_iter_instead_of_collect`] to `pedantic` group
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant