Skip to content

refactor(config): add FromStr for ModuleName, delegate Deserialize to it#830

Open
dacrab wants to merge 1 commit into
MalpenZibo:mainfrom
dacrab:refactor/config-deserialize
Open

refactor(config): add FromStr for ModuleName, delegate Deserialize to it#830
dacrab wants to merge 1 commit into
MalpenZibo:mainfrom
dacrab:refactor/config-deserialize

Conversation

@dacrab

@dacrab dacrab commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Adds impl FromStr for ModuleName and delegates the Deserialize implementation to FromStr, eliminating ~13 lines of duplicated match arms. New module variants only need to be added in one place going forward.

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.

1 participant