Trying to skip formatting in doc comments #5623
Labels
a-comments
e-trailing whitespace
error[internal]: left behind trailing whitespace
only-with-option
requires a non-default option value to reproduce
In a recent nightly,
rustfmt
withformat_code_in_doc_comments = true
started working and fixed some stuff. However, there was a place where I wanted to skip the formatting. This code:will result in
I presume the above behavior is a bug.
Independently, is there a way of skipping doc formatting without
#![rustfmt::skip]
appearing? I feel like I've seen some tag you can attach to the triple backticks, but it is not documented prominently.The text was updated successfully, but these errors were encountered: