-
Notifications
You must be signed in to change notification settings - Fork 13.4k
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
rustdoc: Improve rendering of unboxed closures #19934
Conversation
Nice! Thanks so much @tomjakubowski! |
@alexcrichton No problem! I think though that you've r+ed on the commit in the |
thanks @steveklabnik! |
/me shakes fist sorry :( |
@alexcrichton I added another commit to use the |
👍 |
0fa064f
to
a22268c
Compare
Rebased and fixed the |
a22268c
to
809dbf4
Compare
This unfortunately leaves sugaring Fn/FnMut/FnOnce on cross-crate re-exports for future work. cc rust-lang#19909
809dbf4
to
64b5464
Compare
Rebased, re-r @alexcrichton ? The conflicts were just in deriving for RustcEncodable and RutscDecodable. |
…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.
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.