summaryrefslogtreecommitdiff
path: root/exercises/09_strings
diff options
context:
space:
mode:
Diffstat (limited to 'exercises/09_strings')
-rw-r--r--exercises/09_strings/strings1.rs2
-rw-r--r--exercises/09_strings/strings2.rs2
-rw-r--r--exercises/09_strings/strings3.rs2
-rw-r--r--exercises/09_strings/strings4.rs2
4 files changed, 0 insertions, 8 deletions
diff --git a/exercises/09_strings/strings1.rs b/exercises/09_strings/strings1.rs
index f50e1fa..a1255a3 100644
--- a/exercises/09_strings/strings1.rs
+++ b/exercises/09_strings/strings1.rs
@@ -5,8 +5,6 @@
// Execute `rustlings hint strings1` or use the `hint` watch subcommand for a
// hint.
-// I AM NOT DONE
-
fn main() {
let answer = current_favorite_color();
println!("My current favorite color is {}", answer);
diff --git a/exercises/09_strings/strings2.rs b/exercises/09_strings/strings2.rs
index 4d95d16..ba76fe6 100644
--- a/exercises/09_strings/strings2.rs
+++ b/exercises/09_strings/strings2.rs
@@ -5,8 +5,6 @@
// Execute `rustlings hint strings2` or use the `hint` watch subcommand for a
// hint.
-// I AM NOT DONE
-
fn main() {
let word = String::from("green"); // Try not changing this line :)
if is_a_color_word(word) {
diff --git a/exercises/09_strings/strings3.rs b/exercises/09_strings/strings3.rs
index 384e7ce..dedc081 100644
--- a/exercises/09_strings/strings3.rs
+++ b/exercises/09_strings/strings3.rs
@@ -3,8 +3,6 @@
// Execute `rustlings hint strings3` or use the `hint` watch subcommand for a
// hint.
-// I AM NOT DONE
-
fn trim_me(input: &str) -> String {
// TODO: Remove whitespace from both ends of a string!
???
diff --git a/exercises/09_strings/strings4.rs b/exercises/09_strings/strings4.rs
index e8c54ac..a034aa4 100644
--- a/exercises/09_strings/strings4.rs
+++ b/exercises/09_strings/strings4.rs
@@ -7,8 +7,6 @@
//
// No hints this time!
-// I AM NOT DONE
-
fn string_slice(arg: &str) {
println!("{}", arg);
}