summaryrefslogtreecommitdiff
path: root/rustlings-macros
diff options
context:
space:
mode:
authorMo <76752051+mo8it@users.noreply.github.com>2024-07-17 14:31:17 +0200
committerGitHub <noreply@github.com>2024-07-17 14:31:17 +0200
commit96f96927da9ebca76b1aca143f8f480daf21034d (patch)
treea814f182263ac1979595ef1f7fd77a44b2e0cc6c /rustlings-macros
parent362473dde012e2d703a95297c0aa846805627180 (diff)
parent2c79e29483b485e6dffd386e8c7e8f7131e33c37 (diff)
Merge pull request #2050 from yapjiahong/main
doc: enchane string3 exercise hint
Diffstat (limited to 'rustlings-macros')
-rw-r--r--rustlings-macros/info.toml6
1 files changed, 5 insertions, 1 deletions
diff --git a/rustlings-macros/info.toml b/rustlings-macros/info.toml
index e69834a..9f6616b 100644
--- a/rustlings-macros/info.toml
+++ b/rustlings-macros/info.toml
@@ -498,7 +498,11 @@ some of 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."""
+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
+"""
[[exercises]]
name = "strings4"