summaryrefslogtreecommitdiff
path: root/exercises/clippy
diff options
context:
space:
mode:
authorRobert Fry <inbox@robertfry.xyz>2023-05-29 18:39:08 +0100
committerRobert Fry <inbox@robertfry.xyz>2023-05-29 18:41:51 +0100
commit7eef5d15eef780f93e22b1b4e0185f7708219ea0 (patch)
tree6c1f97594a23ba1eb870435ba1e81a652241db04 /exercises/clippy
parent30291a3c253f08a4191cfd544ba36867612ebb7a (diff)
docs: cleanup the explanation paragraphs at the start of each exercise.
Diffstat (limited to 'exercises/clippy')
-rw-r--r--exercises/clippy/clippy1.rs13
-rw-r--r--exercises/clippy/clippy2.rs4
-rw-r--r--exercises/clippy/clippy3.rs3
3 files changed, 14 insertions, 6 deletions
diff --git a/exercises/clippy/clippy1.rs b/exercises/clippy/clippy1.rs
index bad4689..95c0141 100644
--- a/exercises/clippy/clippy1.rs
+++ b/exercises/clippy/clippy1.rs
@@ -1,10 +1,13 @@
// clippy1.rs
-// The Clippy tool is a collection of lints to analyze your code
-// so you can catch common mistakes and improve your Rust code.
//
-// 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.
-// Execute `rustlings hint clippy1` or use the `hint` watch subcommand for a hint.
+// The Clippy tool is a collection of lints to analyze your code so you can
+// catch common mistakes and improve your Rust code.
+//
+// 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.
+//
+// Execute `rustlings hint clippy1` or use the `hint` watch subcommand for a
+// hint.
// I AM NOT DONE
diff --git a/exercises/clippy/clippy2.rs b/exercises/clippy/clippy2.rs
index dac40db..9b87a0b 100644
--- a/exercises/clippy/clippy2.rs
+++ b/exercises/clippy/clippy2.rs
@@ -1,5 +1,7 @@
// clippy2.rs
-// Execute `rustlings hint clippy2` or use the `hint` watch subcommand for a hint.
+//
+// Execute `rustlings hint clippy2` or use the `hint` watch subcommand for a
+// hint.
// I AM NOT DONE
diff --git a/exercises/clippy/clippy3.rs b/exercises/clippy/clippy3.rs
index b0159eb..35021f8 100644
--- a/exercises/clippy/clippy3.rs
+++ b/exercises/clippy/clippy3.rs
@@ -1,5 +1,8 @@
// clippy3.rs
+//
// Here's a couple more easy Clippy fixes, so you can see its utility.
+//
+// Execute `rustlings hint clippy3` or use the `hint` watch subcommand for a hint.
// I AM NOT DONE