-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Support cfg_attr #5548
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
Comments
The following is not highlighted as code in the doc string #[cfg_attr(feature = "ci-headless", doc = "```no_run")]
#[cfg_attr(not(feature = "ci-headless"), doc = "```")]
/// Code goes here...
/// ```
Not sure if only because of the missing cfg_attr support, or if there are other factors too. |
6934: Implement `cfg_attr` handling r=jonas-schievink a=jonas-schievink Part of #5548 Co-authored-by: Jonas Schievink <[email protected]>
I've now added |
cc #5016 |
Doc comments don't work with Closing this issue. For any other |
It seems the following is currently not supported:
I've had to do the following:
The text was updated successfully, but these errors were encountered: