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

Fix up missing docs for consts within consts #330

Merged
merged 1 commit into from Apr 3, 2023

Conversation

KodrAus
Copy link
Member

@KodrAus KodrAus commented Apr 3, 2023

Closes #320

Moves the declaration of associated constants for flags outside of the const _: () { .. } container. This works around a bug in the current stable version of rustdoc where docs for constants within #[doc(hidden)] constants are missed.

@KodrAus KodrAus merged commit 98b85d5 into bitflags:main Apr 3, 2023
15 checks passed
@KodrAus KodrAus mentioned this pull request Apr 5, 2023
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.

Regression in v2: flag constants no longer appear in cargo doc output
1 participant