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

Change DocFragments from enum variant fields to structs with a nested enum #77513

Merged
merged 1 commit into from
Oct 4, 2020

Commits on Oct 3, 2020

  1. Change DocFragments from enum variant fields to structs with a nested…

    … enum
    
    This makes the code a lot easier to work with. It also makes it easier
    to add new fields without updating each variant and `match`
    individually.
    
    - Name the `Kind` variant after `DocFragmentKind` from `collapse_docs`
    - Remove unneeded impls
    jyn514 committed Oct 3, 2020
    Configuration menu
    Copy the full SHA
    5f76b95 View commit details
    Browse the repository at this point in the history