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 blocking Dns::get_host_by_address back to mutable self #100

Merged
merged 2 commits into from
Dec 5, 2023

Conversation

MathiasKoch
Copy link
Collaborator

@MathiasKoch MathiasKoch commented Dec 5, 2023

This aligns the signature of the blocking Dns trait with get_host_by_name, by re-adding the &mut self and nb::Error result type.

It used to be this way, but it seems like #93 was a bit too fast on copying over the async api.

Ping @Dirbaio

Copy link
Member

@ryan-summers ryan-summers left a comment

Choose a reason for hiding this comment

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

Indeed, thanks for catching this one :)

Copy link
Contributor

@Dirbaio Dirbaio left a comment

Choose a reason for hiding this comment

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

sounds good to me. sorry for the screw-up 🙈

@ryan-summers ryan-summers merged commit 2ad0b03 into master Dec 5, 2023
13 checks passed
@ryan-summers ryan-summers deleted the fix/dns-mut-self branch December 5, 2023 09:33
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.

3 participants