-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Revisit docsrs settings now that cfg implies doc(cfg) #4163
Comments
I worry if this will make some things documented incorrectly. For example, we might have a |
According to the linked PR, we can use |
Does the change in rustdoc break anything for us, or just allow us to potentially simplify things? |
It shouldn't break builds, but it may result in incorrect docs in some places, I think? Per @Darksonn's comment, there are some places where we use |
I ran
|
Description
A recent change to rustdoc makes
#[cfg]
now imply#[doc(cfg)]
. That's handy for most crates, but makes Tokio's variouscfg
macros now partially redundant and somewhat confusing. In the best case, Tokio may be able to simply delete all of the docsrs stuff.rust-lang/rust#89596
The text was updated successfully, but these errors were encountered: