We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a0c6cf commit 7035d67Copy full SHA for 7035d67
exercises/traits/traits5.rs
@@ -1,7 +1,7 @@
1
// traits5.rs
2
//
3
// Your task is to replace the '??' sections so the code compiles.
4
-// Don't change any line other than 27.
+// Don't change any line other than the marked one.
5
// Execute `rustlings hint traits5` or use the `hint` watch subcommand for a hint.
6
7
// I AM NOT DONE
@@ -25,6 +25,7 @@ struct SomeStruct {
25
impl SomeTrait for SomeStruct {}
26
impl OtherTrait for SomeStruct {}
27
28
+// YOU MAY ONLY CHANGE THE NEXT LINE
29
fn some_func(item: ??) -> bool {
30
item.some_function() && item.other_function()
31
}
0 commit comments