Skip to content

Commit 7035d67

Browse files
committed
fix(traits5.rs): wrong line number
1 parent 8a0c6cf commit 7035d67

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

exercises/traits/traits5.rs

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

77
// I AM NOT DONE
@@ -25,6 +25,7 @@ struct SomeStruct {
2525
impl SomeTrait for SomeStruct {}
2626
impl OtherTrait for SomeStruct {}
2727

28+
// YOU MAY ONLY CHANGE THE NEXT LINE
2829
fn some_func(item: ??) -> bool {
2930
item.some_function() && item.other_function()
3031
}

0 commit comments

Comments
 (0)