summaryrefslogtreecommitdiff
path: root/strings
diff options
context:
space:
mode:
authorCarol (Nichols || Goulding) <carol.nichols@gmail.com>2016-07-05 09:00:56 -0400
committerCarol (Nichols || Goulding) <carol.nichols@gmail.com>2016-07-05 09:00:56 -0400
commit32131ae811348bd1a8c22eb49c0e88371318e9d8 (patch)
treef439eb5ccab7930f1dab259d98e158a6291bd329 /strings
parentcdcec9ca20b378b0de51cc2252bc80717a1c5799 (diff)
Incorporate changes from @pindell-matt! 🚀
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.