summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--info.toml3
1 files changed, 1 insertions, 2 deletions
diff --git a/info.toml b/info.toml
index d714e54..c0bead9 100644
--- a/info.toml
+++ b/info.toml
@@ -444,8 +444,7 @@ mode = "compile"
hint = """
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 the
-line with the function call `is_a_color_word`, though, that will coerce the `String` into a
-string slice.
+if statement, though, that will coerce the `String` into a string slice.
Side note: If you're interested in learning about how this kind of reference conversion works, you can jump ahead in the book and read this part in the smart pointers chapter: https://doc.rust-lang.org/stable/book/ch15-02-deref.html#implicit-deref-coercions-with-functions-and-methods"""