Skip to content

treemap: remove .each in favor of .iter().advance #7405

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 1 commit into from
Closed

treemap: remove .each in favor of .iter().advance #7405

wants to merge 1 commit into from

Conversation

artagnon
Copy link
Contributor

Both extra::treemap::TreeMap and extra::treemap::TreeSet have
corresponding iterators TreeMapIterator and TreeSetIterator.
Unfortunately, the tests and extra::serialize use the older .each.
Update all the dependent code, and remove .each.

Signed-off-by: Ramkumar Ramachandra [email protected]

Both extra::treemap::TreeMap and extra::treemap::TreeSet have
corresponding iterators TreeMapIterator and TreeSetIterator.
Unfortunately, the tests and extra::serialize use the older .each.
Update all the dependent code, and remove .each.

Signed-off-by: Ramkumar Ramachandra <[email protected]>
@emberian
Copy link
Member

Pulling this into my rollup branch

@emberian emberian closed this Jun 26, 2013
@artagnon artagnon deleted the treemap-iterator branch June 27, 2013 09:51
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jul 1, 2021
Stabilize `cargo clippy --fix`

This has been unstable since it was first introduced in
rust-lang/rust-clippy#5363. In that time, I have
been using it successfully in nightly without issues. I don't think
there are any blocking issues now that RUSTC_WORKSPACE_WRAPPER is
stabilized, so this can be stabilized.

changelog: Stabilize `cargo clippy --fix`
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