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: replace the (dublicated) impl blocks with the equivalent macros #2065

Closed
wants to merge 3 commits into from

Conversation

0x61nas
Copy link
Contributor

@0x61nas 0x61nas commented Dec 9, 2023

Apply DRY (Don't Repeat Yourself) rule and replace the (simirer) impl blocks with equivalent macros

I license past and future contributions under the dual MIT/Apache-2.0 license,
allowing licensees to choose either at their option.

@fintelia
Copy link
Contributor

Thanks for this PR, but I'd rather avoid macros unless there's a substantial code reduction. Going from 76 lines to ~55 isn't enough to justify it IMO

@0x61nas
Copy link
Contributor Author

0x61nas commented Dec 11, 2023

Fair point

@0x61nas 0x61nas closed this Dec 11, 2023
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