From cf2673d4d4bc8d6b96f4488847d8c2b3c3545010 Mon Sep 17 00:00:00 2001 From: Botahamec Date: Mon, 21 Mar 2022 22:00:30 -0400 Subject: Add seconds or nanoseconds to DateTime --- src/month.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/month.rs') diff --git a/src/month.rs b/src/month.rs index 1419717..faf891d 100644 --- a/src/month.rs +++ b/src/month.rs @@ -405,7 +405,7 @@ impl Month { let zero_indexed_month = zero_indexed_num % 12; let month = match Self::from_u8((zero_indexed_month as u8) + 1) { Some(month) => month, - None => unsafe { std::hint::unreachable_unchecked() }, + None => unsafe { core::hint::unreachable_unchecked() }, }; (month, wraps) -- cgit v1.2.3