mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-12-29 15:19:19 +00:00
11 lines
410 B
Markdown
11 lines
410 B
Markdown
# Clippy
|
||
|
||
Clippy 工具是一組用來分析你程式碼的 lint,讓你能夠抓住常見的錯誤並改善你的 Rust 程式碼。
|
||
|
||
如果你使用 Rustlings 的安裝腳本,那麼 Clippy 應該已經安裝好了。
|
||
如果沒有,你可以通過以下指令手動安裝它:`rustup component add clippy`。
|
||
|
||
## 進一步了解
|
||
|
||
- [Clippy 的 GitHub 儲存庫](https://github.com/rust-lang/rust-clippy).
|