mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-26 15:24:17 -05:00
Merge pull request #1199 from skaunov/patch-1
Add link to `std` in `strings3` hint
This commit is contained in:
commit
56b52115d9
1 changed files with 1 additions and 1 deletions
|
@ -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."""
|
||||||
|
|
Loading…
Reference in a new issue