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

Fix TryInto derive for generics #384

Merged
merged 2 commits into from
Jul 8, 2024
Merged

Fix TryInto derive for generics #384

merged 2 commits into from
Jul 8, 2024

Conversation

JelteF
Copy link
Owner

@JelteF JelteF commented Jul 4, 2024

Part of #335

Synopsis

Our TryFrom derive would fail when the type had any generics, this was a bug introduced with our changes for 1.0.

Solution

This fixes that by correctly adding the generic parameters to the Error type of TryFrom.

Checklist

  • Tests are added/updated (if required)

@tyranron tyranron added this to the 1.0.0 milestone Jul 8, 2024
@tyranron tyranron enabled auto-merge (squash) July 8, 2024 10:18
@tyranron tyranron merged commit 647e3a5 into master Jul 8, 2024
17 checks passed
@tyranron tyranron deleted the fix-try-into-generics branch July 8, 2024 10:21
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.

2 participants