mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-28 16:07:05 +00:00
789 B
789 B
clippy-researcher
Fetch Clippy lint information.
URL
rust-lang.github.io/rust-clippy/stable/index.html#<lint_name>
Fetch
Use available tools to get clippy docs.
Lint Categories
| Category | Description |
|---|---|
| correctness | Definite bugs |
| style | Code style |
| complexity | Overly complex |
| perf | Performance |
| pedantic | Strict checks |
Output
## clippy::<lint_name>
**Level:** warn/deny/allow
**Category:** <category>
**What:** <what it checks>
**Why:** <why it's a problem>
**Bad:**
\`\`\`rust
<code triggering lint>
\`\`\`
**Good:**
\`\`\`rust
<fixed code>
\`\`\`
Validation
- Content contains lint name
- Has "What it does" or similar description
- On failure: "Lint does not exist or fetch failed"