mirror of
https://github.com/notohh/rustlings.git
synced 2025-08-18 08:03:36 -04:00
strings 3 solution
This commit is contained in:
parent
f574905b8e
commit
613ec23f84
3 changed files with 62 additions and 11 deletions
rustlings-macros
|
@ -499,7 +499,8 @@ https://doc.rust-lang.org/stable/book/ch15-02-deref.html#implicit-deref-coercion
|
|||
name = "strings3"
|
||||
dir = "09_strings"
|
||||
hint = """
|
||||
There's tons of useful standard library functions for strings. Let's try and use some of them:
|
||||
There are many useful standard library functions for strings. Let's try and use
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue