summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskaunov <65976143+skaunov@users.noreply.github.com>2022-09-13 16:33:03 +0300
committerGitHub <noreply@github.com>2022-09-13 16:33:03 +0300
commit3028d1395cfa1bc2dbf49f7678d8f083e9042a56 (patch)
tree875a78da1402f959bce45989405a2e971ddccbd0
parentb85b8de232865c2d372c933676d0d31b7d1834a2 (diff)
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.
-rw-r--r--info.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/info.toml b/info.toml
index 6feeb18..e80d8a9 100644
--- a/info.toml
+++ b/info.toml
@@ -449,7 +449,7 @@ path = "exercises/strings/strings3.rs"
mode = "test"
hint = """
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
slice into an owned string, which you can then freely extend."""