Configurable non-English section titles for some documentation lints

Open
#17,983 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
55/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
rust
Domain
tooling

Research direction

Start by reading the implementations and tests for clippy::missing_panics_doc, missing_safety_doc, and missing_errors_doc in the Clippy repository. Check how each lint recognizes section headings and how its tests cover them; the issue asks for configurable alternatives to Panics, Safety, and Errors. Done means configuration accepts localized headings and tests show those headings are recognized.

Written by the indexing model from the issue text.

Description

A-ui
Description

The clippy::missing_panics_doc forces to use # Panics a the panic documentation section. Could it become configurable to also accept other words? (ex. # Paniques in French)

Same thing for # Safety and # Errors.

Version

Additional Labels

No response

Dominant language
Rust
Stars
13.6k
Forks
2.2k
Avg merge
3d 11h
Merged PRs (30d)
30

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rust-lang/rust-clippy

All issues in rust-lang/rust-clippy

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.