mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-25 23:04:17 -05:00
fix(options1): remove unused code
Since rewriting the exercise in commit 06e4fd3765
the print_number
function goes unused. Remove it.
This commit is contained in:
parent
57377e8bf7
commit
3c84cc1702
1 changed files with 0 additions and 5 deletions
|
@ -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 :(
|
||||
|
|
Loading…
Reference in a new issue