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

Add cfg(not(doc)) to doc(hidden) functions #1511

Merged
merged 1 commit into from
Sep 15, 2023
Merged

Add cfg(not(doc)) to doc(hidden) functions #1511

merged 1 commit into from
Sep 15, 2023

Conversation

dtolnay
Copy link
Owner

@dtolnay dtolnay commented Sep 15, 2023

For some reason rustdoc is not respecting the doc(hidden) on these functions. See https://docs.rs/syn/2.0.27/syn/index.html#functions.

They were hidden correctly in https://docs.rs/syn/2.0.26/syn/index.html#functions so this must be related to #1490.

cfg(doc)/cfg(not(doc)) is supported since Rust 1.41.

@dtolnay dtolnay merged commit 858e578 into master Sep 15, 2023
28 checks passed
@dtolnay dtolnay deleted the notdoc branch September 15, 2023 19:05
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.

1 participant