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

Change Edns set_* to -> &mut Self #1369

Merged
merged 1 commit into from Jan 28, 2021
Merged

Conversation

leshow
Copy link
Contributor

@leshow leshow commented Jan 27, 2021

Interested in this change? All the other set_* methods in Header, Message, Query return &mut Self so they can be chained, except for Edns. Seems like maybe it should also?

I didn't change the now deprecated set_option.

@djc
Copy link
Collaborator

djc commented Jan 27, 2021

LGTM, thanks!

@codecov
Copy link

codecov bot commented Jan 27, 2021

Codecov Report

Merging #1369 (3da4ec7) into main (85edab7) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #1369   +/-   ##
=======================================
  Coverage   86.35%   86.35%           
=======================================
  Files         134      134           
  Lines       13870    13870           
=======================================
  Hits        11977    11977           
  Misses       1893     1893           

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 too! Thanks for the change!

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.

None yet

3 participants