Skip to content

Commit 3028d13

Browse files
authored
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.
1 parent b85b8de commit 3028d13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

info.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ path = "exercises/strings/strings3.rs"
449449
mode = "test"
450450
hint = """
451451
There's tons of useful standard library functions for strings. Let's try and use some of
452-
them!
452+
them: <https://doc.rust-lang.org/std/string/struct.String.html#method.trim>!
453453
454454
For the compose_me method: You can either use the `format!` macro, or convert the string
455455
slice into an owned string, which you can then freely extend."""

0 commit comments

Comments
 (0)