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 implementations of StructInfo::derive and TypeBuilderAttr #127

Merged

Conversation

itchyny
Copy link
Contributor

@itchyny itchyny commented Oct 29, 2023

Thanks for maintaining this great crate. I was to implement a new feature but noticed that it's hard to reuse TypeBuilderAttr. I'd like to suggest move TypeBuilderAttr to a separate file. Also I moved the entire derive implementation to be the public function of StructInfo and make impl functions private, to make its duty clear.

@itchyny itchyny force-pushed the refactor-struct-info-derive-builder-attr branch 3 times, most recently from 1c32a80 to 6ebf391 Compare October 29, 2023 10:33
@itchyny itchyny force-pushed the refactor-struct-info-derive-builder-attr branch from 6ebf391 to 6b5e3b1 Compare October 29, 2023 23:05
@idanarye idanarye merged commit 168e076 into idanarye:master Nov 1, 2023
9 checks passed
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