Skip to content

Commit 2b0c73c

Browse files
authored
Merge pull request #1140 from markusboehme/fix/options1/remove-unused-code
fix(options1): remove unused code
2 parents 57377e8 + 3c84cc1 commit 2b0c73c

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)