1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-10-19 01:18:09 +02:00

fix(options1): remove unused code

Since rewriting the exercise in commit 06e4fd376586 the print_number
function goes unused. Remove it.
This commit is contained in:
Markus Boehme 2022-08-11 22:52:06 +02:00
parent 57377e8bf7
commit 3c84cc1702

@ -3,11 +3,6 @@
// I AM NOT DONE
// you can modify anything EXCEPT for this function's signature
fn print_number(maybe_number: Option<u16>) {
println!("printing: {}", maybe_number.unwrap());
}
// This function returns how much icecream there is left in the fridge.
// If it's before 10PM, there's 5 pieces left. At 10PM, someone eats them
// all, so there'll be no more left :(