Skip to content

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

@emesare emesare self-assigned this Feb 3, 2025
@VisualEhrmanntraut VisualEhrmanntraut deleted the fix-enum-builder branch March 27, 2025 18:22
@emesare emesare added this to the Gallifrey milestone Apr 21, 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.

2 participants