about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorYutaro Ohno <yutaro.ono.418@gmail.com>2025-01-14 17:06:31 +0900
committerYutaro Ohno <yutaro.ono.418@gmail.com>2025-01-28 16:22:28 +0900
commit4693d0a9ffceeabed36d2e82be3cfce5e1322b30 (patch)
tree5e0ff5fa639c5f416904b0598a894c7368c08471 /compiler/rustc_codegen_llvm/src
parent66dc8a1a30b19f31454a9e58f8723500a1a8ad17 (diff)
downloadrust-4693d0a9ffceeabed36d2e82be3cfce5e1322b30.tar.gz
rust-4693d0a9ffceeabed36d2e82be3cfce5e1322b30.zip
Add new lint `doc_overindented_list_items`
Add a new lint `doc_overindented_list_items` to detect and fix list items
in docs that are overindented.

For example,

```rs
/// - first line
///      second line
fn foo() {}
```

this would be fixed to:

```rs
/// - first line
///   second line
fn foo() {}
```

This lint improves readabiliy and consistency in doc.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions