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

enable formatting of code in docs #322

Closed
tedil opened this issue Jul 8, 2020 · 0 comments · Fixed by #323 or #324
Closed

enable formatting of code in docs #322

tedil opened this issue Jul 8, 2020 · 0 comments · Fixed by #323 or #324
Assignees

Comments

@tedil
Copy link
Member

tedil commented Jul 8, 2020

Code in docstrings is not formatted by default.
rustfmt has an option format_code_in_doc_comments which can be enabled to do this. The option is still unstable but in the process of being stabilised, so we might as well use it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant