Compare commits

..

No commits in common. "d140d49b6135119a20be4689cf8bb6b13fdaa69d" and "c7a18b07810b09dbae4630283fed5941c5b7cf1d" have entirely different histories.

View file

@ -816,7 +816,7 @@ path = "exercises/15_traits/traits4.rs"
mode = "test" mode = "test"
hint = """ hint = """
Instead of using concrete types as parameters you can use traits. Try replacing Instead of using concrete types as parameters you can use traits. Try replacing
the '??' with 'impl [what goes here?]' the '??' with 'impl <what goes here?>'
See the documentation at: https://doc.rust-lang.org/book/ch10-02-traits.html#traits-as-parameters See the documentation at: https://doc.rust-lang.org/book/ch10-02-traits.html#traits-as-parameters
""" """
@ -827,7 +827,7 @@ path = "exercises/15_traits/traits5.rs"
mode = "compile" mode = "compile"
hint = """ hint = """
To ensure a parameter implements multiple traits use the '+ syntax'. Try To ensure a parameter implements multiple traits use the '+ syntax'. Try
replacing the '??' with 'impl [what goes here?] + [what goes here?]'. replacing the '??' with 'impl <> + <>'.
See the documentation at: https://doc.rust-lang.org/book/ch10-02-traits.html#specifying-multiple-trait-bounds-with-the--syntax See the documentation at: https://doc.rust-lang.org/book/ch10-02-traits.html#specifying-multiple-trait-bounds-with-the--syntax
""" """