Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

docs: add docs.rs flag for feature annotations #13

Merged
merged 1 commit into from
Oct 25, 2024
Merged

Conversation

RoloEdits
Copy link
Contributor

doc_auto_cfg:Automatically generate #[doc(cfg)]

doc_auto_cfg is an extension to the #[doc(cfg)] feature. With it, you don't need to add #[doc(cfg(...)] anymore unless you want to override the default behaviour.

### [`doc_auto_cfg`: Automatically generate
`#[doc(cfg)]`](https://doc.rust-lang.org/rustdoc/unstable-features.html#doc_auto_cfg-automatically-generate-doccfg)

-   Tracking issue:
[#43781](rust-lang/rust#43781)

`doc_auto_cfg` is an extension to the `#[doc(cfg)]` feature. With it,
you don't need to add `#[doc(cfg(...)]` anymore unless you want to
override the default behaviour.
@RoloEdits RoloEdits merged commit 0544c99 into main Oct 25, 2024
4 checks passed
@RoloEdits RoloEdits deleted the docrs-cfg branch October 25, 2024 09:34
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant