From 5b88aaa4d8dd34f73fc5a6ebd358c0877668d925 Mon Sep 17 00:00:00 2001 From: Krishna Kumar Date: Sun, 29 Mar 2026 11:15:54 +0530 Subject: [PATCH] Clarify confusing comment in strings2.rs Fixes #2230 Replaced vague wording "this function" with the explicit function name "is_a_color_word" to improve clarity for beginners. --- exercises/09_strings/strings2.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/09_strings/strings2.rs b/exercises/09_strings/strings2.rs index 93d9cb6b..58144339 100644 --- a/exercises/09_strings/strings2.rs +++ b/exercises/09_strings/strings2.rs @@ -1,4 +1,4 @@ -// TODO: Fix the compiler error in the `main` function without changing this function. +// TODO: Fix the compiler error in the `main` function without changing the `is_a_color_word` function. fn is_a_color_word(attempt: &str) -> bool { attempt == "green" || attempt == "blue" || attempt == "red" }