strings4 solution

This commit is contained in:
mo8it
2024-06-22 12:51:21 +02:00
parent 613ec23f84
commit 879f0cd5c6
3 changed files with 75 additions and 18 deletions
+9 -1
View File
@@ -510,7 +510,15 @@ the string slice into an owned string, which you can then freely extend."""
name = "strings4"
dir = "09_strings"
test = false
hint = "No hints this time ;)"
hint = """
Replace `placeholder` with either `string` or `string_slice` in the `main` function.
Example:
`placeholder("blue");`
should become
`string_slice("blue");`
because "blue" is `&str`, not `String`.
"""
# MODULES