Skip to content

Commit 630cbf8

Browse files
authored
Merge pull request #1587 from willhack/chore/update-hints
chore: update line reference in strings2 hint
2 parents abc3013 + 0aa9418 commit 630cbf8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

info.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,8 +444,7 @@ mode = "compile"
444444
hint = """
445445
Yes, it would be really easy to fix this by just changing the value bound to `word` to be a
446446
string slice instead of a `String`, wouldn't it?? There is a way to add one character to the
447-
line with the function call `is_a_color_word`, though, that will coerce the `String` into a
448-
string slice.
447+
if statement, though, that will coerce the `String` into a string slice.
449448
450449
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"""
451450

0 commit comments

Comments
 (0)