diff options
Diffstat (limited to 'exercises/strings')
| -rw-r--r-- | exercises/strings/strings1.rs | 2 | ||||
| -rw-r--r-- | exercises/strings/strings2.rs | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/exercises/strings/strings1.rs b/exercises/strings/strings1.rs index 2e5088f..3335734 100644 --- a/exercises/strings/strings1.rs +++ b/exercises/strings/strings1.rs @@ -1,6 +1,8 @@ // strings1.rs // Make me compile without changing the function signature! Scroll down for hints :) +// I AM NOT DONE + fn main() { let answer = current_favorite_color(); println!("My current favorite color is {}", answer); diff --git a/exercises/strings/strings2.rs b/exercises/strings/strings2.rs index c77e16f..3890cfe 100644 --- a/exercises/strings/strings2.rs +++ b/exercises/strings/strings2.rs @@ -1,6 +1,8 @@ // strings2.rs // Make me compile without changing the function signature! Scroll down for hints :) +// I AM NOT DONE + fn main() { let word = String::from("green"); // Try not changing this line :) if is_a_color_word(word) { |
