Skip to content

feat: Replace unnecessary getters on Config struct #423

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

Merged
merged 1 commit into from
Feb 28, 2024

Conversation

Antosser
Copy link
Contributor

Implemented #401

All I did was make the fields public and delete the getters. I decided to try to remove the unnecessary clones in a separate PR after this one gets merged for transparency.

Copy link
Member

@LeoBorai LeoBorai left a comment

Choose a reason for hiding this comment

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

LGTM!

@LeoBorai
Copy link
Member

Great improvement @Antosser!

@LeoBorai LeoBorai added this pull request to the merge queue Feb 28, 2024
Merged via the queue into http-server-rs:main with commit a9fd962 Feb 28, 2024
@Antosser Antosser deleted the fixunnecessarygetters branch February 28, 2024 22:44
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.

2 participants