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

Replace From<&str> for GUID with TryFrom<&str> #3193

Merged
merged 4 commits into from
Aug 7, 2024
Merged

Conversation

kennykerr
Copy link
Collaborator

I realized that Rust won't let us have both nor does it really make sense. The From<&str> is one of the first bits of Rust I ever wrote as I attempted to begin writing a Rust version of C++/WinRT. It's showing its age and well past time for a more useful replacement.

Fixes: #3174

@kennykerr kennykerr merged commit 1d977ac into master Aug 7, 2024
78 checks passed
@kennykerr kennykerr deleted the guid_try_from branch August 7, 2024 13:49
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.

A TryFrom<&str> impl for GUID
1 participant