From 2c79e29483b485e6dffd386e8c7e8f7131e33c37 Mon Sep 17 00:00:00 2001 From: yapjiahong Date: Wed, 17 Jul 2024 00:43:42 +0800 Subject: [PATCH] doc: enchane string3 exercise hint --- rustlings-macros/info.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rustlings-macros/info.toml b/rustlings-macros/info.toml index e69834ac..9f6616b7 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"