Skip to content

Commit

Permalink
Merge pull request rust-lang#1140 from markusboehme/fix/options1/remo…
Browse files Browse the repository at this point in the history
…ve-unused-code

fix(options1): remove unused code
  • Loading branch information
shadows-withal authored Aug 12, 2022
2 parents 57377e8 + 3c84cc1 commit 2b0c73c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions exercises/options/options1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 :(
Expand Down

0 comments on commit 2b0c73c

Please sign in to comment.