Skip to content

rustdoc: Improve rendering of unboxed closures #19934

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 4 commits into from
Dec 25, 2014

Conversation

tomjakubowski
Copy link
Contributor

We render HRTB and the unboxed closure trait sugar (the so-called
"parenthesized" notation) where appropriate. Also address the new
for syntax on the old closures.

@alexcrichton
Copy link
Member

Nice! Thanks so much @tomjakubowski!

@tomjakubowski
Copy link
Contributor Author

@alexcrichton No problem! I think though that you've r+ed on the commit in the rust-lang repo, which I think is the one Bors doesn't see.

@tomjakubowski
Copy link
Contributor Author

thanks @steveklabnik!

@alexcrichton
Copy link
Member

/me shakes fist

sorry :(

@tomjakubowski
Copy link
Contributor Author

@alexcrichton I added another commit to use the Fn(...) -> ... sugar in re-exported signatures too, re-r?

@nikomatsakis
Copy link
Contributor

👍

@tomjakubowski tomjakubowski force-pushed the rustdoc-unboxed-closures-redux branch from 0fa064f to a22268c Compare December 21, 2014 10:14
@tomjakubowski
Copy link
Contributor Author

Rebased and fixed the make docs error (I really need to put up a post-it to remind me to at least make docs before every update to a PR).

@tomjakubowski tomjakubowski force-pushed the rustdoc-unboxed-closures-redux branch from a22268c to 809dbf4 Compare December 21, 2014 22:31
@tomjakubowski tomjakubowski force-pushed the rustdoc-unboxed-closures-redux branch from 809dbf4 to 64b5464 Compare December 24, 2014 17:38
@tomjakubowski
Copy link
Contributor Author

Rebased, re-r @alexcrichton ? The conflicts were just in deriving for RustcEncodable and RutscDecodable.

bors added a commit that referenced this pull request Dec 25, 2014
…dux, r=alexcrichton

We render HRTB and the unboxed closure trait sugar (the so-called 
"parenthesized" notation) where appropriate. Also address the new
`for` syntax on the old closures.
@bors bors merged commit 64b5464 into rust-lang:master Dec 25, 2014
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.

4 participants