diff options
| author | Carol (Nichols || Goulding) <carol.nichols@gmail.com> | 2016-07-05 09:00:56 -0400 |
|---|---|---|
| committer | Carol (Nichols || Goulding) <carol.nichols@gmail.com> | 2016-07-05 09:00:56 -0400 |
| commit | 32131ae811348bd1a8c22eb49c0e88371318e9d8 (patch) | |
| tree | f439eb5ccab7930f1dab259d98e158a6291bd329 /strings | |
| parent | cdcec9ca20b378b0de51cc2252bc80717a1c5799 (diff) | |
Incorporate changes from @pindell-matt! 🚀
Diffstat (limited to 'strings')
| -rw-r--r-- | strings/strings2.rs | 2 |
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. |
