Skip to content

Commit b99c7b8

Browse files
committed
chore: update line reference in strings2 hint
1 parent c2264ca commit b99c7b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

info.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ mode = "compile"
439439
hint = """
440440
Yes, it would be really easy to fix this by just changing the value bound to `word` to be a
441441
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+
12, though, that will coerce the `String` into a string slice.
443443
444444
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"""
445445

0 commit comments

Comments
 (0)