summaryrefslogtreecommitdiff
path: root/rustlings-macros/info.toml
diff options
context:
space:
mode:
authoryapjiahong <yapjiahong@gmail.com>2024-07-17 00:43:42 +0800
committeryapjiahong <yapjiahong@gmail.com>2024-07-17 00:43:42 +0800
commit2c79e29483b485e6dffd386e8c7e8f7131e33c37 (patch)
treea814f182263ac1979595ef1f7fd77a44b2e0cc6c /rustlings-macros/info.toml
parent362473dde012e2d703a95297c0aa846805627180 (diff)
doc: enchane string3 exercise hint
Diffstat (limited to 'rustlings-macros/info.toml')
-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"