Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upAccept ToSocketAddrs #668
Comments
This comment has been minimized.
This comment has been minimized.
|
Oh this is actually explicitly avoided in That being said, this has come up a few times, so I think it'd at least be worth explicitly documenting! |
This comment has been minimized.
This comment has been minimized.
|
Okay, makes sense. I agree, let's document this! |
carllerche
added
the
help wanted
label
Aug 18, 2017
This comment has been minimized.
This comment has been minimized.
|
Closing due to inactivity. |
carllerche
closed this
Jan 13, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
dtolnay commentedAug 18, 2017
The methods that currently accept SocketAddr or &SocketAddr as an argument could take A: ToSocketAddrs, which is implemented for str and various other helpful types.