summaryrefslogtreecommitdiff
path: root/rustlings-macros
diff options
context:
space:
mode:
authormo8it <mo8it@proton.me>2024-07-17 14:32:45 +0200
committermo8it <mo8it@proton.me>2024-07-17 14:32:45 +0200
commit447ac3c40beed9b5447433c0404ed04a1a38afd8 (patch)
treea56bb03a765ab4c8f74491b4e769127006b61556 /rustlings-macros
parent96f96927da9ebca76b1aca143f8f480daf21034d (diff)
strings3: Improve hint
Diffstat (limited to 'rustlings-macros')
-rw-r--r--rustlings-macros/info.toml5
1 files changed, 2 insertions, 3 deletions
diff --git a/rustlings-macros/info.toml b/rustlings-macros/info.toml
index 9f6616b..2ecb226 100644
--- a/rustlings-macros/info.toml
+++ b/rustlings-macros/info.toml
@@ -500,9 +500,8 @@ 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.
-For the `replace_me` method: You can reference:
-https://doc.rust-lang.org/std/string/struct.String.html#method.replace
-"""
+For the `replace_me` method, you can check out the `replace` method:
+https://doc.rust-lang.org/std/string/struct.String.html#method.replace"""
[[exercises]]
name = "strings4"