Skip to content

Commit 96bdd0e

Browse files
hpwxfSpacebody
authored andcommitted
fix(quiz3): Force an answer to Q2 (rust-lang#672)
Add also an example of unimplemented!() macro.
1 parent c135c96 commit 96bdd0e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

exercises/quiz3.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ mod tests {
2424

2525
#[test]
2626
fn returns_twice_of_negative_numbers() {
27-
// TODO write an assert for `times_two(-4)`
27+
// TODO replace unimplemented!() with an assert for `times_two(-4)`
28+
unimplemented!()
2829
}
2930
}

0 commit comments

Comments
 (0)