|
|
@ -3,8 +3,8 @@
|
|
|
|
// The Clippy tool is a collection of lints to analyze your code so you can
|
|
|
|
// The Clippy tool is a collection of lints to analyze your code so you can
|
|
|
|
// catch common mistakes and improve your Rust code.
|
|
|
|
// catch common mistakes and improve your Rust code.
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// For these exercises the code will fail to compile when there are clippy
|
|
|
|
// For these exercises the code will fail to compile when there are Clippy
|
|
|
|
// warnings check clippy's suggestions from the output to solve the exercise.
|
|
|
|
// warnings. Check Clippy's suggestions from the output to solve the exercise.
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// Execute `rustlings hint clippy1` or use the `hint` watch subcommand for a
|
|
|
|
// Execute `rustlings hint clippy1` or use the `hint` watch subcommand for a
|
|
|
|
// hint.
|
|
|
|
// hint.
|
|
|
|