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 rust EnumerationBuilder method return types #6365

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

VisualEhrmanntraut
Copy link
Contributor

methods append, insert, replace, and remove were returning &Self instead of &mut Self, but accepting &mut Self, so you could add/remove a member only once.

@emesare emesare merged commit d059f99 into Vector35:dev Jan 27, 2025
4 of 5 checks passed
@emesare
Copy link
Member

emesare commented Jan 27, 2025

Thanks for noticing that, we only ever used them unchained so never ran into that. I'll add some more unit tests today for this and other builders

@VisualEhrmanntraut
Copy link
Contributor Author

Hey @emesare, I'm in the BN slack, I've got an inquiry about the Rust API other than this issue. Can you please check the rust-api channel? I would appreciate it.

@VisualEhrmanntraut
Copy link
Contributor Author

As in, another problem with the API, not a question

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