Function chrono::expect

source ยท
pub(crate) const fn expect<T: Copy>(opt: Option<T>, msg: &str) -> T
Expand description

Workaround because .expect() is not (yet) available in const context.