mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-12-28 06:49:19 +00:00
feat: clarified the comment
This commit is contained in:
parent
8b4562e102
commit
84c98c0601
@ -1,4 +1,5 @@
|
||||
// TODO: Fix the compiler error in the `main` function without changing this function.
|
||||
|
||||
fn is_a_color_word(attempt: &str) -> bool {
|
||||
attempt == "green" || attempt == "blue" || attempt == "red"
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user