summaryrefslogtreecommitdiff
path: root/rustlings-macros/info.toml
diff options
context:
space:
mode:
authormo8it <mo8it@proton.me>2024-06-27 12:23:33 +0200
committermo8it <mo8it@proton.me>2024-06-27 12:23:33 +0200
commitc0452d160b889b3686409820192797d9e9f9cad7 (patch)
treea2d958597268f396c401a619e7b72739479466d1 /rustlings-macros/info.toml
parentb4b7ae63ada9128d4798d301cfc757a60904c6b8 (diff)
traits4 solution
Diffstat (limited to 'rustlings-macros/info.toml')
-rw-r--r--rustlings-macros/info.toml5
1 files changed, 3 insertions, 2 deletions
diff --git a/rustlings-macros/info.toml b/rustlings-macros/info.toml
index 92e440a..43ccdf8 100644
--- a/rustlings-macros/info.toml
+++ b/rustlings-macros/info.toml
@@ -784,9 +784,10 @@ name = "traits4"
dir = "15_traits"
hint = """
Instead of using concrete types as parameters you can use traits. Try replacing
-the '??' with 'impl [what goes here?]'
+`???` with `impl [what goes here?]`.
-See the documentation at: https://doc.rust-lang.org/book/ch10-02-traits.html#traits-as-parameters"""
+Related section in The Book:
+https://doc.rust-lang.org/book/ch10-02-traits.html#traits-as-parameters"""
[[exercises]]
name = "traits5"