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

Note that zip and enumerate are similar #23789

Merged
merged 1 commit into from
Mar 28, 2015
Merged

Conversation

steveklabnik
Copy link
Member

Fixes #22716

@rust-highfive
Copy link
Collaborator

r? @pcwalton

(rust_highfive has picked a reviewer for you, use r? to override)

@@ -313,6 +327,9 @@ pub trait IteratorExt: Iterator + Sized {
/// Creates an iterator that yields a pair of the value returned by this
/// iterator plus the current index of iteration.
///
/// `enumerate` keeps its count as a `usize`. If you want to count by a different sized
/// integer, the `zip` function provides similar functionality.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

80 chars? (surrounding style)

@steveklabnik
Copy link
Member Author

@alexcrichton updated

@alexcrichton
Copy link
Member

@bors: r+ 59d417a

oh oops forgot r=me :(

bors added a commit that referenced this pull request Mar 28, 2015
@bors
Copy link
Contributor

bors commented Mar 28, 2015

⌛ Testing commit 59d417a with merge e58f057...

@bors bors merged commit 59d417a into rust-lang:master Mar 28, 2015
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.

enumerate should be generic over the integer
5 participants