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

chore: nest struct definition #105

Merged
merged 1 commit into from
Nov 21, 2024
Merged

Conversation

ZibanPirate
Copy link
Member

Description

used nest_struct crate to nest Node and it's child structs in one definition.

@github-actions github-actions bot added the rust label Nov 21, 2024
@ZibanPirate ZibanPirate marked this pull request as ready for review November 21, 2024 16:38
@ZibanPirate ZibanPirate requested a review from omdxp November 21, 2024 16:38
Base automatically changed from fix/rust/make-features-mutually-exclusive to main November 21, 2024 16:44
Copy link
Member

@omdxp omdxp left a comment

Choose a reason for hiding this comment

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

Great job on refactoring the Node and its child structs into a single nested definition using the nest_struct crate. This should improve the maintainability and readability of the code. Make sure to thoroughly test the changes to ensure no functionality is broken.

@ZibanPirate ZibanPirate merged commit a4d7d8b into main Nov 21, 2024
4 checks passed
@ZibanPirate ZibanPirate deleted the chore/nest_struct_definition branch November 21, 2024 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants