mirror of
https://git.aramjonghu.dev/AramJonghu/rustlings.git
synced 2026-09-01 07:53:30 +02:00
doc: enchane string3 exercise hint
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user