Skip to content

Make Day::new const and remove Day::__new_unchecked #73

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tguichaoua
Copy link
Contributor

@tguichaoua tguichaoua commented Dec 6, 2024

closes #72

Note: since this change uses Option::expect in a constant context, it requires rust 1.83 (28 November, 2024) or above.

@tguichaoua tguichaoua marked this pull request as draft December 6, 2024 18:41
@tguichaoua tguichaoua marked this pull request as ready for review December 6, 2024 18:55
@fspoettel
Copy link
Owner

thank you @tguichaoua - I'll merge this one after the current aoc completes.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make new unchecked unsafe
2 participants