summaryrefslogtreecommitdiff
path: root/exercises/quiz2.rs
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/quiz2.rs
parent30291a3c253f08a4191cfd544ba36867612ebb7a (diff)
docs: cleanup the explanation paragraphs at the start of each exercise.
Diffstat (limited to 'exercises/quiz2.rs')
-rw-r--r--exercises/quiz2.rs10
1 files changed, 6 insertions, 4 deletions
diff --git a/exercises/quiz2.rs b/exercises/quiz2.rs
index 5c42dae..29925ca 100644
--- a/exercises/quiz2.rs
+++ b/exercises/quiz2.rs
@@ -1,14 +1,15 @@
// quiz2.rs
+//
// This is a quiz for the following sections:
// - Strings
// - Vecs
// - Move semantics
// - Modules
// - Enums
-
-// Let's build a little machine in the form of a function.
-// As input, we're going to give a list of strings and commands. These commands
-// determine what action is going to be applied to the string. It can either be:
+//
+// Let's build a little machine in the form of a function. As input, we're going
+// to give a list of strings and commands. These commands determine what action
+// is going to be applied to the string. It can either be:
// - Uppercase the string
// - Trim the string
// - Append "bar" to the string a specified amount of times
@@ -16,6 +17,7 @@
// - The input is going to be a Vector of a 2-length tuple,
// the first element is the string, the second one is the command.
// - The output element is going to be a Vector of strings.
+//
// No hints this time!
// I AM NOT DONE