Skip to content

Highlight function names in rustdoc_ng #9460

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
Seldaek opened this issue Sep 24, 2013 · 0 comments
Closed

Highlight function names in rustdoc_ng #9460

Seldaek opened this issue Sep 24, 2013 · 0 comments
Assignees
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@Seldaek
Copy link
Contributor

Seldaek commented Sep 24, 2013

All function names should be wrapped in a <span class="fnname">...</span> and the following CSS applied:

.fnname {
    color: #8c6067;
}

It'll make scanning long lists of fn declarations a bit easier.

/cc @alexcrichton

@ghost ghost assigned alexcrichton Sep 24, 2013
djkoloski pushed a commit to djkoloski/rust that referenced this issue Sep 21, 2022
djkoloski pushed a commit to djkoloski/rust that referenced this issue Sep 21, 2022
Don't lint `large_stack_array` inside static items

We now check if the linted `Expr` is inside an `ItemKind::Static`, which can't take the suggested `Box<[...]`. I _think_ this is the correct fix for rust-lang#9460

I removed `if_chain` while I was at it.

changelog: Don't lint `large_stack_array` inside static items
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

2 participants