summaryrefslogtreecommitdiff
path: root/exercises
diff options
context:
space:
mode:
authorbhbuehler <25541343+bhbuehler@users.noreply.github.com>2022-10-11 12:05:37 -0500
committerbhbuehler <25541343+bhbuehler@users.noreply.github.com>2022-10-11 12:05:37 -0500
commitc157c53983d67d209e7ffc63896f9a9030f5154c (patch)
tree4ea9c34362ddcf865c5d8695561bd073316160a9 /exercises
parent818eaa7307ac605adca562ec8f04f4f43f124bd8 (diff)
docs(options1): fix and clarify 24 hour time instruction
Diffstat (limited to 'exercises')
-rw-r--r--exercises/options/options1.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/exercises/options/options1.rs b/exercises/options/options1.rs
index d1735c2..1149af0 100644
--- a/exercises/options/options1.rs
+++ b/exercises/options/options1.rs
@@ -8,8 +8,8 @@
// all, so there'll be no more left :(
// TODO: Return an Option!
fn maybe_icecream(time_of_day: u16) -> Option<u16> {
- // We use the 24-hour system here, so 10PM is a value of 22
- // The Option output should gracefully handle cases where time_of_day > 24.
+ // We use the 24-hour system here, so 10PM is a value of 22 and 12AM is a value of 0
+ // The Option output should gracefully handle cases where time_of_day > 23.
???
}