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

reduce size of ResolveErrorKind #1482

Merged
merged 4 commits into from May 9, 2021

Conversation

trinity-1686a
Copy link
Collaborator

@trinity-1686a trinity-1686a commented May 6, 2021

fix #1383 part2
Reduce size of ResolveError by boxing some parts of its inner enum
#1409 already boxed ProtoErrorKind in ProtoError

@codecov
Copy link

codecov bot commented May 6, 2021

Codecov Report

Merging #1482 (8048d57) into main (032b33c) will decrease coverage by 0.03%.
The diff coverage is 75.00%.

@@            Coverage Diff             @@
##             main    #1482      +/-   ##
==========================================
- Coverage   84.45%   84.43%   -0.03%     
==========================================
  Files         167      167              
  Lines       15805    15811       +6     
==========================================
+ Hits        13348    13349       +1     
- Misses       2457     2462       +5     

I'm not sure what caused this to fail. Changes in clippy?
1.52 is out
Copy link
Collaborator

@djc djc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Copy link
Member

@bluejekyll bluejekyll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@trinity-1686a
Copy link
Collaborator Author

I can't reproduce CI error, and it has no apparent error message, could you try re-running it in case it's a fluke? Otherwise I have no idea what is wrong

@bluejekyll bluejekyll merged commit 31c748d into hickory-dns:main May 9, 2021
@trinity-1686a trinity-1686a deleted the reduce-error-size branch May 9, 2021 10:15
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.

Error types are enormous
3 participants