mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-29 00:17:11 +00:00
feat: add comprehensive skills and agents for Rust development (#1573)
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
# Clippy Lint → Rule Mapping
|
||||
|
||||
| Clippy Lint | Category | Fix |
|
||||
|-------------|----------|-----|
|
||||
| `unwrap_used` | Error | Use `?` or `expect()` |
|
||||
| `needless_clone` | Perf | Use reference |
|
||||
| `await_holding_lock` | Async | Scope guard before await |
|
||||
| `linkedlist` | Perf | Use Vec/VecDeque |
|
||||
| `wildcard_imports` | Style | Explicit imports |
|
||||
| `missing_safety_doc` | Safety | Add `# Safety` doc |
|
||||
| `undocumented_unsafe_blocks` | Safety | Add `// SAFETY:` |
|
||||
| `transmute_ptr_to_ptr` | Safety | Use `pointer::cast()` |
|
||||
| `large_stack_arrays` | Mem | Use Vec or Box |
|
||||
| `too_many_arguments` | Design | Use struct params |
|
||||
|
||||
For unsafe-related lints → see `unsafe-checker` skill.
|
||||
Reference in New Issue
Block a user