Skip to content
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

RFC: Rename the `size_hint` method of `Iterator` to `len_hint`. #1032

Closed
wants to merge 2 commits into from

Conversation

Projects
None yet
2 participants
@CloudiDust
Copy link
Contributor

CloudiDust commented Apr 4, 2015

This change is originally brought up in this discuss thread.

Rendered View

@Gankro

This comment has been minimized.

Copy link
Contributor

Gankro commented Apr 4, 2015

I think it's a perfectly fine 1.0 breaking change to just rename it. It's an easy grep.

@CloudiDust CloudiDust changed the title RFC: Add `len_hint` to `Iterator` and deprecate `size_hint`. RFC: Rename the `size_hint` method of `Iterator` to `len_hint`. Apr 5, 2015

@CloudiDust CloudiDust closed this Apr 5, 2015

@CloudiDust

This comment has been minimized.

Copy link
Contributor Author

CloudiDust commented Apr 5, 2015

There was some issue with git or GitHub that my new commits were not showing in this PR, and I had no idea how to correct that, so I decided to start over with #1034. Sorry for the confusion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.