Add link to `std` in `strings3` hint

Seems like it's the first place, where `std` is introduced in Rustlings, and it's a good place to facilitate docs discovery for user. As _the book_ seems to have no Rustlings-sized solutions for this exercise.
This commit is contained in:
skaunov 2022-09-13 16:33:03 +03:00 committed by GitHub
parent b85b8de232
commit 3028d1395c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -449,7 +449,7 @@ path = "exercises/strings/strings3.rs"
mode = "test" mode = "test"
hint = """ hint = """
There's tons of useful standard library functions for strings. Let's try and use some of There's tons of useful standard library functions for strings. Let's try and use some of
them! them: <https://doc.rust-lang.org/std/string/struct.String.html#method.trim>!
For the compose_me method: You can either use the `format!` macro, or convert the string For the compose_me method: You can either use the `format!` macro, or convert the string
slice into an owned string, which you can then freely extend.""" slice into an owned string, which you can then freely extend."""