Skip to content

Rendered where clauses in fn docs need more linebreaks #24373

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

Closed
huonw opened this issue Apr 13, 2015 · 2 comments
Closed

Rendered where clauses in fn docs need more linebreaks #24373

huonw opened this issue Apr 13, 2015 · 2 comments
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@huonw
Copy link
Member

huonw commented Apr 13, 2015

E.g. http://doc.rust-lang.org/nightly/std/thread/fn.scoped.html is all on one line

pub fn scoped<'a, T, F>(f: F) -> JoinGuard<'a, T> where T: Send + 'a, F: FnOnce() -> T, F: Send + 'a

It'd be much nicer as

pub fn scoped<'a, T, F>(f: F) -> JoinGuard<'a, T>
    where T: Send + 'a, F: FnOnce() -> T, F: Send + 'a

or even broken more.

@huonw huonw added the T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. label Apr 13, 2015
@jooert
Copy link
Contributor

jooert commented Jun 16, 2015

This was fixed in #25933, I guess.

@steveklabnik
Copy link
Member

Looks so!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

3 participants