You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add doc_comment() method to FieldData that checks generate_comments flag
- Add doc_comment() method to EnumVariant that checks generate_comments flag
- Remove redundant generate_comments checks from field codegen
- Remove redundant generate_comments checks from enum variant codegen
This makes the code more idiomatic by having types that generate comments
handle the flag check themselves, eliminating duplication and centralizing
the decision logic.
0 commit comments