Skip to content

Conversation

tbu-
Copy link
Contributor

@tbu- tbu- commented Mar 31, 2016

This now mentions that you can restrict type parameters to be able to
call functions of traits.

This now mentions that you can restrict type parameters to be able to
call functions of traits.
@rust-highfive
Copy link
Contributor

r? @pnkfelix

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

@tbu-
Copy link
Contributor Author

tbu- commented Mar 31, 2016

Idea comes from https://www.reddit.com/r/rust/comments/4ceo5n/my_first_experiments_with_rust_generics_and/.

This is a doc pull request, so r? @steveklabnik I guess?

@pnkfelix
Copy link
Contributor

@bors r+

@bors
Copy link
Collaborator

bors commented Mar 31, 2016

📌 Commit 10caca2 has been approved by pnkfelix

@pnkfelix
Copy link
Contributor

@bors rollup

Manishearth added a commit to Manishearth/rust that referenced this pull request Apr 1, 2016
Improve E0277 error message in a generic context

This now mentions that you can restrict type parameters to be able to
call functions of traits.
bors added a commit that referenced this pull request Apr 2, 2016
Rollup of 11 pull requests

- Successful merges: #32622, #32629, #32640, #32641, #32642, #32645, #32647, #32649, #32652, #32654, #32656
- Failed merges:
@bors bors merged commit 10caca2 into rust-lang:master Apr 2, 2016
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