summaryrefslogtreecommitdiff
path: root/strings
diff options
context:
space:
mode:
Diffstat (limited to 'strings')
-rw-r--r--strings/strings2.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/strings/strings2.rs b/strings/strings2.rs
index fe0bdc7..286a4f8 100644
--- a/strings/strings2.rs
+++ b/strings/strings2.rs
@@ -36,6 +36,8 @@ fn is_a_color_word(attempt: &str) -> bool {
+
+
// Yes, it would be really easy to fix this by just changing the value bound to `word` to be a
// string slice instead of a `String`, wouldn't it?? There is a way to add one character to line
// 5, though, that will coerce the `String` into a string slice.