tabs_in_doc_comments
suggests me to use spaces for indentation
#7309
Labels
C-bug
Category: Clippy is not doing the correct thing
I-false-positive
Issue: The lint was triggered on code it shouldn't have
Lint name:
tabs_in_doc_comments
I tried this code:
I expected to see this happen: The lint only activates when using tabs within the comment block, and not to indent the block.
Instead, this happened: I get a lint suggesting to replace my tabs with spaces. Doing this would result in mixed indentation (I generally use tabs and the lines with the comment would use spaces instead), which is bad.
Meta
cargo clippy -V
:clippy 0.1.51 (2fd73fa 2021-03-23)
rustc -Vv
:The text was updated successfully, but these errors were encountered: