summaryrefslogtreecommitdiff
path: root/exercises
diff options
context:
space:
mode:
authorMarkus Boehme <markus.boehme@mailbox.org>2022-08-11 22:52:06 +0200
committerMarkus Boehme <markus.boehme@mailbox.org>2022-08-11 22:54:08 +0200
commit3c84cc1702200eea4d3e57feff34e69705dc8ed1 (patch)
tree23e2d2c4d3efa0fb9053c1f046b6648a9f6d14cb /exercises
parent57377e8bf725897fbcaf99508e9445eca0f0137a (diff)
fix(options1): remove unused code
Since rewriting the exercise in commit 06e4fd376586 the print_number function goes unused. Remove it.
Diffstat (limited to 'exercises')
-rw-r--r--exercises/options/options1.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/exercises/options/options1.rs b/exercises/options/options1.rs
index c93ffba..99c9591 100644
--- a/exercises/options/options1.rs
+++ b/exercises/options/options1.rs
@@ -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 :(