1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-11-08 09:09:17 +01:00

Merge pull request #2050 from yapjiahong/main

doc: enchane string3 exercise hint
This commit is contained in:
Mo 2024-07-17 14:31:17 +02:00 committed by GitHub
commit 96f96927da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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"