Skip to content

Commit 0ab781c

Browse files
committed
chore: remove line reference from strings2 hint
1 parent b99c7b8 commit 0ab781c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

info.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -438,8 +438,8 @@ path = "exercises/strings/strings2.rs"
438438
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
441-
string slice instead of a `String`, wouldn't it?? There is a way to add one character to line
442-
12, though, that will coerce the `String` into a string slice.
441+
string slice instead of a `String`, wouldn't it?? There is a way to add one character to the
442+
if statement, 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)