1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-12-10 11:10:26 +02:00

fix(quiz3): Force an answer to Q2 (#672)

Add also an example of unimplemented!() macro.
This commit is contained in:
Pascal H 2021-03-16 10:14:25 +01:00 committed by GitHub
parent be9510539e
commit 0d894e6ff7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,6 +24,7 @@ mod tests {
#[test]
fn returns_twice_of_negative_numbers() {
// TODO write an assert for `times_two(-4)`
// TODO replace unimplemented!() with an assert for `times_two(-4)`
unimplemented!()
}
}