Closed nekevss closed 4 months ago
This updates the is_valid_duration check to the current specification and also changes a couple asserts into debug_asserts to prevent panics.
is_valid_duration
asserts
debug_asserts
Yeah, that's not a bad approach. If we added an assert with a log, it might make debugging easier too. I'll add it to this quick.
This updates the
is_valid_duration
check to the current specification and also changes a coupleasserts
intodebug_asserts
to prevent panics.