You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: info.toml
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -439,7 +439,9 @@ mode = "compile"
439
439
hint = """
440
440
Yes, it would be really easy to fix this by just changing the value bound to `word` to be a
441
441
string slice instead of a `String`, wouldn't it?? There is a way to add one character to line
442
-
9, though, that will coerce the `String` into a string slice."""
442
+
9, though, that will coerce the `String` into a string slice.
443
+
444
+
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"""
0 commit comments