Skip to content

Conversation

akshatcoder-hash
Copy link

@akshatcoder-hash akshatcoder-hash commented Apr 6, 2025

This Pull request fixes #2230
Replaced this with the actual name of the function is_a_color_word which was causing confusion for the users

@akshatcoder-hash
Copy link
Author

requesting review on this @mo8it

@rnazali
Copy link
Contributor

rnazali commented Apr 30, 2025

Hi, maybe what the issue suggests is more like this:

// TODO: Fix the compiler error in the `main` function without changing `is_a_color_word` function.
fn is_a_color_word(attempt: &str) -> bool {
    attempt == "green" || attempt == "blue" || attempt == "red"
}

@mo8it
Copy link
Contributor

mo8it commented May 13, 2025

AI reported…

@mo8it mo8it closed this May 13, 2025
@akshatcoder-hash
Copy link
Author

AI reported…

i'm sorry, could you please clarify

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enhancement (09_strings/strings2.rs): confusing comment

3 participants