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

refactor(rust): use localhost constructor for HostnamePort #8737

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

ilyaaay
Copy link
Contributor

@ilyaaay ilyaaay commented Jan 10, 2025

No description provided.

@adrianbenavides
Copy link
Member

Hey @ilyaaay, thanks for submitting the PR, it looks good!

While we are at it, could you do the same with the StaticHostnamePort struct? We have some constants that would also benefit from this.

Also, you'd need to fix the conflicts with develop. To do so, you have to git rebase develop on your branch.

@ilyaaay ilyaaay force-pushed the ilyaaay/add-localhost-constructor-for-hostname-port branch from b860ad6 to c207225 Compare January 16, 2025 21:13
@ilyaaay
Copy link
Contributor Author

ilyaaay commented Jan 16, 2025

@adrianbenavides I added and used localhost constructor for StaticHostnamePort. Also rebased my branch.

@ilyaaay ilyaaay changed the title chore(rust): add localhost constructor for hostname port refactor(rust): use localhost constructor for HostnamePort Jan 16, 2025
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.

Add HostnamePort::localhost(u16) constructor to HostnamePort
2 participants