1
0
Fork 0
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:
mo8it 2024-06-22 12:22:24 +02:00
commit 613ec23f84
3 changed files with 62 additions and 11 deletions
rustlings-macros

View file

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