Skip to content

transitioning to Iterator #7110

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 4 commits into from
Closed

transitioning to Iterator #7110

wants to merge 4 commits into from

Conversation

thestinger
Copy link
Contributor

No description provided.

replaced with `xs.mut_iter().enumerate()`
replaced with mutable implementations of Iterator
copies can just be done explicitly: `xs.transform(|x|x.clone())`
bors added a commit that referenced this pull request Jun 15, 2013
@bors bors closed this Jun 15, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request May 6, 2021
…h_type_annotations, r=flip1995

needless_collect: Lint cases with type annotations for indirect usage and recognize `BinaryHeap`

fixes rust-lang#7110
changelog: needless_collect: Lint cases with type annotations for indirect usage and recognize `BinaryHeap`.
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.

2 participants