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

fix(embassy-net): make the Config constructors const #3632

Merged

Conversation

ROMemories
Copy link
Contributor

This makes the existing constructors of embassy_net::Config const, so they can be used in a const context. I don't think this would hinder future evolution of the type or the constructors, and it would make these a little bit easier to use.

Copy link
Member

@lulf lulf left a comment

Choose a reason for hiding this comment

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

LGTM!

@lulf lulf added this pull request to the merge queue Dec 10, 2024
Merged via the queue into embassy-rs:main with commit 406d377 Dec 10, 2024
10 checks passed
@ROMemories
Copy link
Contributor Author

Thanks for merging this so quickly!

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