mirror of
https://git.aramjonghu.dev/AramJonghu/rustlings.git
synced 2026-09-06 10:03:30 +02:00
strings2 solution
This commit is contained in:
@@ -486,7 +486,7 @@ dir = "09_strings"
|
||||
test = false
|
||||
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
|
||||
`word` to be a string slice instead of a `String`, wouldn't it? There is a way
|
||||
to add one character to the `if` statement, though, that will coerce the
|
||||
`String` into a string slice.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user