Skip to content

Significantly simplify generic example #26323

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

Merged
merged 1 commit into from
Jun 16, 2015
Merged

Conversation

steveklabnik
Copy link
Member

Fixes #26320

@rust-highfive
Copy link
Contributor

r? @alexcrichton

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

@alexcrichton
Copy link
Member

@bors: r+ db0dd83c67b74b18d0fd2f19ead99360f8ec8303 rollup

```rust,ignore
// foo is generic over A and B

fn foo<A, B>(x: A, y: B) {
Copy link
Contributor

Choose a reason for hiding this comment

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

This change removes the use of where syntax referred to in the following paragraph, and the paragraph following that refers to 'iter' which is now 'foo'

Copy link
Member Author

Choose a reason for hiding this comment

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

argh I read it and still missed that

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed

Copy link
Contributor

Choose a reason for hiding this comment

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

Still referring to iter two paragraphs down.

Copy link
Member Author

Choose a reason for hiding this comment

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

sigh. i will open a new PR to fix that.

@steveklabnik
Copy link
Member Author

@bors: r=alexcrichton rollup

@bors
Copy link
Collaborator

bors commented Jun 15, 2015

📌 Commit 22b6a5d has been approved by alexcrichton

bors added a commit that referenced this pull request Jun 16, 2015
@bors
Copy link
Collaborator

bors commented Jun 16, 2015

⌛ Testing commit 22b6a5d with merge 520a471...

@bors bors merged commit 22b6a5d into rust-lang:master Jun 16, 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.

5 participants