diff options
| author | Yutaro Ohno <yutaro.ono.418@gmail.com> | 2025-01-14 17:06:31 +0900 |
|---|---|---|
| committer | Yutaro Ohno <yutaro.ono.418@gmail.com> | 2025-01-28 16:22:28 +0900 |
| commit | 4693d0a9ffceeabed36d2e82be3cfce5e1322b30 (patch) | |
| tree | 5e0ff5fa639c5f416904b0598a894c7368c08471 /compiler/rustc_codegen_llvm/src | |
| parent | 66dc8a1a30b19f31454a9e58f8723500a1a8ad17 (diff) | |
| download | rust-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
