Skip to content
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: Keep hidden struct fields out of search #16016

Merged
merged 1 commit into from
Jul 27, 2014

Conversation

tomjakubowski
Copy link
Contributor

Previously, private and #[doc(hidden)] struct fields appeared in the
search index despite being hidden from the struct's documentation.

Fix #15490

Previously, private and `#[doc(hidden)]` struct fields appeared in the
search index despite being hidden from the struct's documentation.

Fix rust-lang#15490
bors added a commit that referenced this pull request Jul 27, 2014
…ichton

Previously, private and `#[doc(hidden)]` struct fields appeared in the
search index despite being hidden from the struct's documentation.

Fix #15490
@bors bors closed this Jul 27, 2014
@bors bors merged commit c05cfab into rust-lang:master Jul 27, 2014
bors added a commit to rust-lang-ci/rust that referenced this pull request Dec 11, 2023
…cola

fix: Insert fn call parens only if the parens inserted around field name

Fixes rust-lang#16014.

Sorry I missed it in previous PR. I've added a test as level to prevent regressions again.
Give any suggestions to improve the test if anything.
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.

Private struct fields are in the rustdoc search index
3 participants