Skip to content

Commit 3c84cc1

Browse files
committed
fix(options1): remove unused code
Since rewriting the exercise in commit 06e4fd3 the print_number function goes unused. Remove it.
1 parent 57377e8 commit 3c84cc1

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

exercises/options/options1.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@
33

44
// I AM NOT DONE
55

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

0 commit comments

Comments
 (0)