Skip to content

Commit b0e070c

Browse files
authored
fix(traits4.rs): wrong line number
fixes #1067
1 parent ab291a1 commit b0e070c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

exercises/traits/traits4.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// traits4.rs
22
//
33
// Your task is to replace the '??' sections so the code compiles.
4-
// Don't change any line other than 21.
4+
// Don't change any line other than the marked one.
55
// Execute `rustlings hint traits4` or use the `hint` watch subcommand for a hint.
66

77
// I AM NOT DONE
@@ -19,6 +19,7 @@ struct OtherSoftware {}
1919
impl Licensed for SomeSoftware {}
2020
impl Licensed for OtherSoftware {}
2121

22+
// YOU MAY ONLY CHANGE THE NEXT LINE
2223
fn compare_license_types(software: ??, software_two: ??) -> bool {
2324
software.licensing_info() == software_two.licensing_info()
2425
}

0 commit comments

Comments
 (0)