format_code_in_doc_comments
not applied when containing macros which takes an abstract stream of tokens
#6454
Labels
The following doctest has no space after the comma on line 4:
I ran
cargo fmt
with theformat_code_in_doc_comments
option set totrue
to format this doctest, but this doctest was not formatted.The expected result is:
Note that Rust code other than doctests, such as unit tests, was formatted as expected.
The above unit test was formatted as expected as follows:
The text was updated successfully, but these errors were encountered: