1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-07-17 01:32:35 +02:00

Merge pull request #1199 from skaunov/patch-1

Add link to `std` in `strings3` hint
This commit is contained in:
liv
2022-09-15 11:28:58 +02:00
committed by GitHub

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."""