Skip to content

Conversation

@Fibonacci747
Copy link

This change removes the unused try_map_match_arms vector and its population from cli_parser.rs and updates comments to reflect the actual conversion path implemented in the macro. The codebase performs conversions at the RuntimeSubcommand<__Inner> -> RuntimeMessage<__Dest> stage via TryFrom and does not implement TryFrom<RuntimeMessage<__Inner>> for RuntimeMessage<__Dest>, making try_map_match_arms dead code. Eliminating it reduces unnecessary allocations during code generation and avoids confusion for maintainers by keeping comments consistent with the implementation, without altering runtime behavior.

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