We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
HostnamePort::localhost(u16)
HostnamePort
We currently use HostnamePort::new("127.0.0.1", 0) which returns a result, and in this case, we know it's a valid hostname.
HostnamePort::new("127.0.0.1", 0)
Add a new constructor HostnamePort::localhost(u16) that doesn't return a Result and replace usages.
Result
The text was updated successfully, but these errors were encountered:
@adrianbenavides #8737
Sorry, something went wrong.
@adrianbenavides Hi. What about my PR?
Hey @ilyaaay I'll prepare it to merge today. We've been busy landing a lot of changes in the command and there are some conflicts I need to fix.
ilyaaay
Successfully merging a pull request may close this issue.
Current behavior
We currently use
HostnamePort::new("127.0.0.1", 0)
which returns a result, and in this case, we know it's a valid hostname.Desired behavior
Add a new constructor
HostnamePort::localhost(u16)
that doesn't return aResult
and replace usages.The text was updated successfully, but these errors were encountered: