From 447ac3c40beed9b5447433c0404ed04a1a38afd8 Mon Sep 17 00:00:00 2001 From: mo8it Date: Wed, 17 Jul 2024 14:32:45 +0200 Subject: [PATCH] strings3: Improve hint --- rustlings-macros/info.toml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/rustlings-macros/info.toml b/rustlings-macros/info.toml index 9f6616b7..2ecb2264 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"