From b61baff1fc078731cd2fca62bef29c637ef5e46b Mon Sep 17 00:00:00 2001 From: sobhanmohammadi-dev Date: Fri, 17 Jul 2026 19:44:47 +0330 Subject: [PATCH] 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 2cddba90..3aad94db 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