From b61baff1fc078731cd2fca62bef29c637ef5e46b Mon Sep 17 00:00:00 2001 From: sobhanmohammadi-dev Date: Fri, 17 Jul 2026 19:44:47 +0330 Subject: [PATCH 1/2] Clarify Append command description in quiz2 --- exercises/quizzes/quiz2.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/exercises/quizzes/quiz2.rs b/exercises/quizzes/quiz2.rs index 2cddba907e..3aad94dbd5 100644 --- a/exercises/quizzes/quiz2.rs +++ b/exercises/quizzes/quiz2.rs @@ -10,7 +10,7 @@ // 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 +// - Append "bar" to the end of the string a specified amount of times // // The exact form of this will be: // - The input is going to be a Vector of 2-length tuples, @@ -48,6 +48,7 @@ mod tests { ("foo".to_string(), Command::Append(1)), ("bar".to_string(), Command::Append(5)), ]; + let output = transformer(input); assert_eq!( @@ -60,4 +61,4 @@ mod tests { ] ); } -} +} \ No newline at end of file From 66ced5eea689d2fcb5b050ce100c321b4df3687f Mon Sep 17 00:00:00 2001 From: sobhanmohammadi-dev Date: Fri, 17 Jul 2026 20:01:47 +0330 Subject: [PATCH 2/2] Fix clippy warnings in quiz3 solution --- solutions/quizzes/quiz3.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solutions/quizzes/quiz3.rs b/solutions/quizzes/quiz3.rs index 7b9127820d..8e0bf06752 100644 --- a/solutions/quizzes/quiz3.rs +++ b/solutions/quizzes/quiz3.rs @@ -24,7 +24,7 @@ impl ReportCard { fn print(&self) -> String { format!( "{} ({}) - achieved a grade of {}", - &self.student_name, &self.student_age, &self.grade, + self.student_name, self.student_age, self.grade, ) } }