ITADN

Apply new clippy lint fixes

#375Pull Requestalerque 创建于 2024-11-29已合并
A
alerquecommented
The first commit here has some obvious fixes for convoluted code that has idiomatic Rust alternatives. The second commit is for using lifetime elision instead of annotations. I understand this one is a bit more controversion and some projects have opted to ignore this lint instead. Personally I think I'm fine with it, I'd rather see annotations where they are meaningful and need to be included in reading the code to grok it, but if anybody here has issues with that I'm happy to consider ignoring these.
合并状态:已合并 合并于 2025-02-17 关闭于 2025-02-17 2 条评论