summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo8it <mo8it@proton.me>2024-07-03 15:26:05 +0200
committermo8it <mo8it@proton.me>2024-07-03 15:26:05 +0200
commitff3e6c05a52aa0c7e558d86404cfe8495a4412fd (patch)
treeb908688a611c6e64ff1bb7a6a94e9547b7b575de
parent33dfe5331a034a2705c45e420f52983a99e204f5 (diff)
parent888ad35d10e8bc6832c11fd8268697311497c1c9 (diff)
Merge branch 'main'
-rw-r--r--exercises/14_generics/README.md2
-rw-r--r--exercises/quizzes/quiz2.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/exercises/14_generics/README.md b/exercises/14_generics/README.md
index de46d50..72cff3f 100644
--- a/exercises/14_generics/README.md
+++ b/exercises/14_generics/README.md
@@ -1,7 +1,7 @@
# Generics
Generics is the topic of generalizing types and functionalities to broader cases.
-This is extremely useful for reducing code duplication in many ways, but can call for rather involving syntax.
+This is extremely useful for reducing code duplication in many ways, but can call for some rather involved syntax.
Namely, being generic requires taking great care to specify over which types a generic type is actually considered valid.
The simplest and most common use of generics is for type parameters.
diff --git a/exercises/quizzes/quiz2.rs b/exercises/quizzes/quiz2.rs
index fd6bc77..8ef1342 100644
--- a/exercises/quizzes/quiz2.rs
+++ b/exercises/quizzes/quiz2.rs
@@ -13,7 +13,7 @@
// - Append "bar" to the string a specified amount of times
//
// The exact form of this will be:
-// - The input is going to be a vector of a 2-length tuple,
+// - The input is going to be a Vector of 2-length tuples,
// the first element is the string, the second one is the command.
// - The output element is going to be a vector of strings.