summaryrefslogtreecommitdiff
path: root/exercises/strings
diff options
context:
space:
mode:
authormarisa <mokou@posteo.de>2019-11-11 17:21:06 +0100
committerGitHub <noreply@github.com>2019-11-11 17:21:06 +0100
commitec2d4bd3ee665f2a4c79dd42c41078223074d4c1 (patch)
tree6106b922559491112240f6465f965cf811caf5b8 /exercises/strings
parentce9fa6ebbfdc3e7585d488d9409797285708316f (diff)
parent9a9007abae86c3b1b1c09778a6544ced54ea4453 (diff)
Merge branch 'master' into refactor-hints
Diffstat (limited to 'exercises/strings')
-rw-r--r--exercises/strings/strings1.rs2
-rw-r--r--exercises/strings/strings2.rs2
2 files changed, 4 insertions, 0 deletions
diff --git a/exercises/strings/strings1.rs b/exercises/strings/strings1.rs
index 0faf86e..8090244 100644
--- a/exercises/strings/strings1.rs
+++ b/exercises/strings/strings1.rs
@@ -2,6 +2,8 @@
// Make me compile without changing the function signature!
// Execute `rustlings hint strings1` 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 bd0f35c..5a2ce74 100644
--- a/exercises/strings/strings2.rs
+++ b/exercises/strings/strings2.rs
@@ -2,6 +2,8 @@
// Make me compile without changing the function signature!
// Execute `rustlings hint strings2` for hints :)
+// I AM NOT DONE
+
fn main() {
let word = String::from("green"); // Try not changing this line :)
if is_a_color_word(word) {