diff options
Diffstat (limited to 'src/month.rs')
| -rw-r--r-- | src/month.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
