summaryrefslogtreecommitdiff
path: root/rustlings-macros/info.toml
diff options
context:
space:
mode:
Diffstat (limited to 'rustlings-macros/info.toml')
-rw-r--r--rustlings-macros/info.toml10
1 files changed, 9 insertions, 1 deletions
diff --git a/rustlings-macros/info.toml b/rustlings-macros/info.toml
index 618fc91..7607650 100644
--- a/rustlings-macros/info.toml
+++ b/rustlings-macros/info.toml
@@ -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