basic Rust knowledgefamiliarity with clippy lint creation
新手友善度1-100 的估計分數,表示該議題對首次貢獻者的友善程度。
40
研究方向
Review existing clippy lints that suggest alternative method calls (e.g., 'manual map' or 'option if let and matches') as templates. The lint should detect the pattern `option.iter().fold(init, |x, y| ...)` and suggest `option.map or(init, |x| ...)`. Key files: clippy lints/src/methods/ and clippy utils/src/ for utility functions. The official Clippy contributing guide (doc/adding lints.md) provides step by step instructions. Check comments for any prior discussion on implementation details.