-
Notifications
You must be signed in to change notification settings - Fork 674
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
Expose SockAddr::from_raw_sockaddr #1447
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please split these two changes up, since they're unrelated? Also, it would be good to deprecate to_str
for a few releases before removing it entirely.
83c0117
to
202e408
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bors r+
1447: Expose SockAddr::from_raw_sockaddr r=asomers a=coolreader18 I also noticed the `SockAddr/InetAddr::to_str` functions were entirely redundant - `ToString` exists for that, & has a blanket impl on `T: Display`. Co-authored-by: Noah <[email protected]>
Build failed: |
202e408
to
ed43d2c
Compare
Huh. I think the failure was just cause of the conflict in CHANGELOG? |
bors retry |
Ah, shoot, just realized the functionality I was looking for was in |
I also noticed the
SockAddr/InetAddr::to_str
functions were entirely redundant -ToString
exists for that, & has a blanket impl onT: Display
.