Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

add const constructors #50

Merged
merged 2 commits into from
Oct 8, 2024
Merged

Conversation

sunshowers
Copy link
Collaborator

Mirror the const constructors provided by the uuid crate.

The constructor we can't provide yet is try_parse, because we don't have the
tag to put in the error at compile time :( I should have had the tag as an
associated constant on the trait.

Created using spr 1.3.6-beta.1
Created using spr 1.3.6-beta.1
@sunshowers sunshowers merged commit c225131 into main Oct 8, 2024
5 checks passed
@sunshowers sunshowers deleted the sunshowers/spr/add-const-constructors branch October 8, 2024 01:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant