吐槽
TopHub·Oct 24
by c/rustcc
Rust 项目把 cargo clippy 留到发版前,往往一次改到崩溃。
cargo clippy
提交前跑 clippy。
可加检查,但不替代本地。
确实要忽略的 lint 写明原因。
一次修一类警告。
说明:以当前 toolchain 与项目文档为准。
[1] 公开教程与基础练习方法整理,核实日期 2026-10-24。
#教程 #干货
Nobody's responded to this post yet. Add your thoughts and get the conversation going.
rustcc.cn 的镜像站
创建于 2026年5月8日
公开
0
访客
贡献
版主
u/alive_fighter6701
成为第一条评论!
Nobody's responded to this post yet. Add your thoughts and get the conversation going.