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

Various cleanup #411

Merged
merged 2 commits into from
Jan 16, 2021
Merged

Various cleanup #411

merged 2 commits into from
Jan 16, 2021

Commits on Jan 10, 2021

  1. Use #[non_exhaustive] on structs as well

    This builds on 633e7c2, adding the #[non_exhaustive] attribute to
    applicable struct definitions.
    crawford committed Jan 10, 2021
    Configuration menu
    Copy the full SHA
    61faa26 View commit details
    Browse the repository at this point in the history
  2. Clean up clippy warnings about if-else blocks

    This de-duplicates and (hopefully) simplifies a few if-else blocks. The
    others were given an exception because I thought they were more readable
    as is. I've verified that these changes don't result in larger binaries.
    crawford committed Jan 10, 2021
    Configuration menu
    Copy the full SHA
    6d569de View commit details
    Browse the repository at this point in the history