Skip to content

Commit d140d49

Browse files
authored
Merge pull request #1978 from jkauerl/main
Change hints of exercises traits4 and traits5 for a better learning experience
2 parents c7a18b0 + 5337620 commit d140d49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

info.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@ path = "exercises/15_traits/traits4.rs"
816816
mode = "test"
817817
hint = """
818818
Instead of using concrete types as parameters you can use traits. Try replacing
819-
the '??' with 'impl <what goes here?>'
819+
the '??' with 'impl [what goes here?]'
820820
821821
See the documentation at: https://doc.rust-lang.org/book/ch10-02-traits.html#traits-as-parameters
822822
"""
@@ -827,7 +827,7 @@ path = "exercises/15_traits/traits5.rs"
827827
mode = "compile"
828828
hint = """
829829
To ensure a parameter implements multiple traits use the '+ syntax'. Try
830-
replacing the '??' with 'impl <> + <>'.
830+
replacing the '??' with 'impl [what goes here?] + [what goes here?]'.
831831
832832
See the documentation at: https://doc.rust-lang.org/book/ch10-02-traits.html#specifying-multiple-trait-bounds-with-the--syntax
833833
"""

0 commit comments

Comments
 (0)