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 ab291a1 commit b0e070cCopy full SHA for b0e070c
exercises/traits/traits4.rs
@@ -1,7 +1,7 @@
1
// traits4.rs
2
//
3
// Your task is to replace the '??' sections so the code compiles.
4
-// Don't change any line other than 21.
+// Don't change any line other than the marked one.
5
// Execute `rustlings hint traits4` or use the `hint` watch subcommand for a hint.
6
7
// I AM NOT DONE
@@ -19,6 +19,7 @@ struct OtherSoftware {}
19
impl Licensed for SomeSoftware {}
20
impl Licensed for OtherSoftware {}
21
22
+// YOU MAY ONLY CHANGE THE NEXT LINE
23
fn compare_license_types(software: ??, software_two: ??) -> bool {
24
software.licensing_info() == software_two.licensing_info()
25
}
0 commit comments