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

docs.rs example has extra # #22

Closed
jedbrown opened this issue Jan 14, 2024 · 2 comments
Closed

docs.rs example has extra # #22

jedbrown opened this issue Jan 14, 2024 · 2 comments

Comments

@jedbrown
Copy link

There is a comment in the code, but this accommodation in the code affects the example in the documentation:

https://docs.rs/document-features/latest/document_features/index.html#examples

It seems best if the rendered docs could strip out the leading #, but a comment at that point would still be an improvement.

@ogoffart
Copy link
Member

Thanks for filling an issue.
Looks like there was a change in rustdoc at some point.
It used to work in previous versions: https://docs.rs/document-features/0.2.6/document_features/

I wonder how to make it render properly now.

@ogoffart
Copy link
Member

I fixed that in commit 8d89242
Thanks again for reporting the issue.

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

No branches or pull requests

2 participants