mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-24 06:22:23 -05:00
strings3: Improve hint
This commit is contained in:
parent
96f96927da
commit
447ac3c40b
1 changed files with 2 additions and 3 deletions
|
@ -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
|
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:
|
For the `replace_me` method, you can check out the `replace` method:
|
||||||
https://doc.rust-lang.org/std/string/struct.String.html#method.replace
|
https://doc.rust-lang.org/std/string/struct.String.html#method.replace"""
|
||||||
"""
|
|
||||||
|
|
||||||
[[exercises]]
|
[[exercises]]
|
||||||
name = "strings4"
|
name = "strings4"
|
||||||
|
|
Loading…
Reference in a new issue