summaryrefslogtreecommitdiff
path: root/exercises/quiz3.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/quiz3.rs
parent30291a3c253f08a4191cfd544ba36867612ebb7a (diff)
docs: cleanup the explanation paragraphs at the start of each exercise.
Diffstat (limited to 'exercises/quiz3.rs')
-rw-r--r--exercises/quiz3.rs20
1 files changed, 11 insertions, 9 deletions
diff --git a/exercises/quiz3.rs b/exercises/quiz3.rs
index 15dc469..3b01d31 100644
--- a/exercises/quiz3.rs
+++ b/exercises/quiz3.rs
@@ -1,17 +1,19 @@
// quiz3.rs
+//
// This quiz tests:
// - Generics
// - Traits
-// An imaginary magical school has a new report card generation system written in Rust!
-// Currently the system only supports creating report cards where the student's grade
-// is represented numerically (e.g. 1.0 -> 5.5).
-// However, the school also issues alphabetical grades (A+ -> F-) and needs
-// to be able to print both types of report card!
-
+//
+// An imaginary magical school has a new report card generation system written
+// in Rust! Currently the system only supports creating report cards where the
+// student's grade is represented numerically (e.g. 1.0 -> 5.5). However, the
+// school also issues alphabetical grades (A+ -> F-) and needs to be able to
+// print both types of report card!
+//
// Make the necessary code changes in the struct ReportCard and the impl block
-// to support alphabetical report cards. Change the Grade in the second test to "A+"
-// to show that your changes allow alphabetical grades.
-
+// to support alphabetical report cards. Change the Grade in the second test to
+// "A+" to show that your changes allow alphabetical grades.
+//
// Execute `rustlings hint quiz3` or use the `hint` watch subcommand for a hint.
// I AM NOT DONE